Esempio n. 1
0
        public void OnTestSuiteChanged(object sender, EventArgs e)
        {
            if (failuresTreeView.IsRealized)
            {
                failuresTreeView.ScrollToPoint(0, 0);
            }

            results.Clear();

            error        = null;
            errorMessage = null;

            failuresStore.Clear();
            outputView.Buffer.Clear();
            outIters.Clear();
            progressBar.Fraction = 0;
            progressBar.Text     = "";
            testsRun             = 0;
            resultSummary        = new UnitTestResult();
            UpdateCounters();
            if (rootTest != null)
            {
                rootTest = testService.SearchTest(rootTest.FullName);
                if (rootTest == null)
                {
                    buttonRun.Sensitive = false;
                }
            }
        }
Esempio n. 2
0
        public void OnTestSuiteChanged(object sender, EventArgs e)
        {
            results.Clear();

            error        = null;
            errorMessage = null;

            failuresStore.Clear();
            outputView.Buffer.Clear();
            outIters.Clear();
            progressBar.Fraction = 0;
            progressBar.Text     = "";
            testsRun             = 0;
            testsFailed          = 0;
            testsIgnored         = 0;
            UpdateCounters();
            if (rootTest != null)
            {
                rootTest = testService.SearchTest(rootTest.FullName);
                if (rootTest == null)
                {
                    buttonRun.Sensitive = false;
                }
            }
        }
Esempio n. 3
0
 public void OnTestSuiteChanged(object sender, EventArgs e)
 {
     if (rootTest != null)
     {
         rootTest = testService.SearchTest(rootTest.FullName);
         if (rootTest == null)
         {
             buttonRun.Sensitive = false;
         }
     }
 }