Пример #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;
 }