public void runFinished(object sender, RunFinishedEventArgs args)
 {
     Debug.WriteLine("Run Finished");
     Console.WriteLine("Exporting results to Testlink.");
     foreach (TestStepRun run in args.Report.TestPackageRun.AllTestStepRuns)
         if (run.Step.IsTestCase)
         {
             exporter.ReportResult(run);
             //Console.Write(".");
         }
     Console.WriteLine(); ;
     Console.WriteLine("Finished exporting results to Testlink");
     Console.WriteLine();
 }
 /// <summary>
 /// Dispatches the <see cref="RunFinished" /> event.
 /// </summary>
 /// <param name="e">The event arguments.</param>
 public void NotifyRunFinished(RunFinishedEventArgs e)
 {
     EventHandlerPolicy.SafeInvoke(RunFinished, this, e);
 }
 /// <summary>
 /// Dispatches the <see cref="RunFinished" /> event.
 /// </summary>
 /// <param name="e">The event arguments.</param>
 public void NotifyRunFinished(RunFinishedEventArgs e)
 {
     EventHandlerPolicy.SafeInvoke(RunFinished, this, e);
 }