public void EndTest(ReporterTestInfo testInfo)
 {
     foreach (IReporter reporter in reporters)
     {
         lock (syncRoot)
         {
             reporter.EndTest(testInfo);
         }
     }
 }
Beispiel #2
0
 public void StartTest(ReporterTestInfo testInfo)
 {
     foreach (IReporter reporter in reporters)
     {
         lock (syncRoot)
         {
             reporter.StartTest(testInfo);
         }
     }
     errorsList.Clear();
 }
Beispiel #3
0
        public void EndTest(ReporterTestInfo testInfo)
        {
            foreach (IReporter reporter in reporters)
            {
                lock (syncRoot)
                {
                    if (errorsList.Count > 0)
                    {
                        Report("Errors during the test", ConvertListToString(errorsList));
                    }

                    reporter.EndTest(testInfo);
                }
            }
        }