Пример #1
0
 public void RunFinished(RunFinishedInfo information)
 {
     lock (_feedbackLock)
     {
         _syncCtx.Post((o) =>
         {
             var info = (RunFinishedInfo)o;
             if (SessionFinished != null)
             {
                 SessionFinished(this, SessionFinishedArgs.FromInternal(info));
             }
         }, information);
     }
 }
Пример #2
0
 static void engine_SessionFinished(object sender, SessionFinishedArgs e)
 {
     System.Console.WriteLine("Run finished with {0} failed builds and {1} tests", e.Run.NumberOfBuildsFailed, e.Run.NumberOfTestsRan);
 }