예제 #1
0
        private void LoadTestRunners()
        {
            _pluginLoader.LoadTestRunnersPlugins();

            foreach (var testFrameworkRunner in _pluginLoader.TestRunnersPluginList)
            {
                cmbTestRunners.Items.Add(testFrameworkRunner.GetDisplayName());
            }

            if (cmbTestRunners.Items.Count <= 0)
            {
                return;
            }

            cmbTestRunners.SelectedIndex = 0;
            _testFrameworkRunner         = _pluginLoader.TestRunnersPluginList[0];

            lblExportExcel.Visible = true;
        }
예제 #2
0
 public void SetTestRunner(TestFrameworkRunner testFrameworkRunner)
 {
     _testFrameworkRunner = testFrameworkRunner;
     _testCasesController.SetTestRunner(testFrameworkRunner);
 }
예제 #3
0
 private void cmbTestRunners_SelectionChangeCommitted(object sender, EventArgs e)
 {
     _testFrameworkRunner = _pluginLoader.TestRunnersPluginList[cmbTestRunners.SelectedIndex];
 }
예제 #4
0
 /// <summary>
 /// Set for the _testFrameworkRunner property
 /// </summary>
 /// <param name="testFrameworkRunner"></param>
 public void SetTestRunner(TestFrameworkRunner testFrameworkRunner)
 {
     _testFrameworkRunner = testFrameworkRunner;
 }