private void TestAutomatStarten(FileSystemInfo aktuellesProjekt, Datenstruktur datenstruktur, IPlc plc) { if (!_autoTesterWindowAktiv) { _autoTesterWindowAktiv = true; _autoTesterWindow = new AutoTesterWindow(); _autoTesterWindow.PlcBeschriftungAktualisieren(BeschriftungenPlc); _autoTesterWindow.Show(); } else { _autoTesterWindow.PlcBeschriftungAktualisieren(BeschriftungenPlc); _autoTesterWindow.AutoTesterDataGrid.Clear(); _autoTesterWindow.DataGridId = 0; } if (MyAutoTester != null) { MyAutoTester = null; } MyAutoTester = new AutoTester(_autoTesterWindow, aktuellesProjekt, datenstruktur, plc); }
/// <summary> /// Uruchm AutoTester. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void buttonAutoStart_Click(object sender, EventArgs e) { AutoTester.ExportToTxt(AutoTester.Multiple(tests, this)); tests.Clear(); textBoxAutoPlannedTests.Clear(); }
public void RatingService_DeleteRating_Throws_On_Null_Rating() { AutoTester.ArgumentNull <Rating>(marker => RatingService.DeleteRating(marker)); }
public void RankingService_UpdateRanking_Throws_On_Null_Ranking() { AutoTester.ArgumentNull <Ranking>(marker => RankingService.UpdateRanking(marker)); }