/// <summary> /// Notifies the listener at the start of a test suite. /// </summary> public void BeginTestSuite(ITestSuite testSuite) { Push("test-suite"); CurrentWriter.WriteAttributeString("name", testSuite.Name); CurrentTimer.Start(); Push("results"); }
/// <summary> /// Notifies the listener at the start of a fixture. /// </summary> public void BeginFixture(IFixture fixture) { Push("test-suite"); CurrentWriter.WriteAttributeString("name", fixture.Name); CurrentWriter.WriteAttributeString("description", fixture.Description); Push("results"); _fixturePassed = true; CurrentTimer.Start(); }
private void MainForm_Resize(object sender, EventArgs e) { if (MinimizeButtonFlag) // only when "minimize to tray" button is used and not standard minimizing { MinimizeButtonFlag = false; NotifyIcon1.Visible = true; this.Hide(); //NotifyIcon1.BalloonTipText = "Minimized To Tray" //NotifyIcon1.ShowBalloonTip(250) } else if (this.WindowState == FormWindowState.Normal) { CurrentTimer.Start(); NotifyIcon1.Visible = false; } }
private void StartButton_Click(object sender, EventArgs e) { if (StopButton.Enabled == false) { ResetData(); } _document.InactiveTimer = 1; _document.KeysCounter = 0; CurrentTimer.Start(); _document.gHook.hook(); SetAvailability(false, false, true, true, false); WindowState = FormWindowState.Minimized; }
private void TimeSelectForm_Load(object sender, EventArgs e) { CurrentTimer.Start(); }