Example #1
0
 private void StopAllQualityTimers()
 {
     foreach (Timer CurrentTimer in QualityTimers)
     {
         CurrentTimer.Stop();
     }
 }
Example #2
0
 /// <summary>
 /// Notifies the listener at the end of a fixture.
 /// </summary>
 public void EndFixture(IFixture fixture)
 {
     Pop();
     CurrentTimer.Stop();
     CurrentWriter.WriteAttributeString("time", CurrentTimer.Elapsed.TotalSeconds.ToString("0.000"));
     CurrentWriter.WriteAttributeString("success", _fixturePassed.ToString());
     Pop();
 }
Example #3
0
 /// <summary>
 /// Notifies the listener at the end of a test suite.
 /// </summary>
 public void EndTestSuite(ITestSuite testSuite)
 {
     Pop();
     CurrentTimer.Stop();
     CurrentWriter.WriteAttributeString("time", CurrentTimer.Elapsed.TotalSeconds.ToString("0.000"));
     CurrentWriter.WriteAttributeString("success", (FailCount == 0).ToString());
     Pop();
 }
Example #4
0
        private void PauseButton_Click(object sender, EventArgs e)
        {
            CurrentTimer.Stop();

            _document.gHook.unhook();

            SetAvailability(false, true, false, true, false);
        }
Example #5
0
        private void StopButton_Click(object sender, EventArgs e)
        {
            CurrentTimer.Stop();

            _document.gHook.unhook();

            SetAvailability(true, true, false, false, true);

            CreateReportButton.Enabled = true;
        }
Example #6
0
 private void MinimizeToTrayButton_Click(object sender, EventArgs e)
 {
     CurrentTimer.Stop();
     MinimizeButtonFlag = true; // button was just clicked
     this.WindowState   = FormWindowState.Minimized;
 }