Ejemplo n.º 1
0
 public TestSession(UnitTest test, IExecutionHandler context, TestResultsPad resultsPad)
 {
     this.test       = test;
     this.context    = context;
     this.monitor    = new TestMonitor(resultsPad);
     this.resultsPad = resultsPad;
     resultsPad.InitializeTestRun(test);
 }
Ejemplo n.º 2
0
 public TestSession(UnitTest test, IExecutionHandler context, TestResultsPad resultsPad, CancellationTokenSource cs)
 {
     this.test               = test;
     this.context            = context;
     CancellationTokenSource = cs;
     this.monitor            = new TestMonitor(resultsPad, CancellationTokenSource);
     this.resultsPad         = resultsPad;
     resultsPad.InitializeTestRun(test);
     Task = new Task(RunTests);
 }
Ejemplo n.º 3
0
		public TestSession (UnitTest test, IExecutionHandler context, TestResultsPad resultsPad)
		{
			this.test = test;
			this.context = context;
			this.monitor = new TestMonitor (resultsPad);
			this.resultsPad = resultsPad;
			resultsPad.InitializeTestRun (test);
		}
Ejemplo n.º 4
0
 public void InitializeTestRun(UnitTest test)
 {
     DispatchService.GuiDispatch(delegate {
         pad.InitializeTestRun(test);
     });
 }
 public void InitializeTestRun(UnitTest test)
 {
     Runtime.RunInMainThread (delegate {
         pad.InitializeTestRun (test);
     });
 }
Ejemplo n.º 6
0
 public void InitializeTestRun(UnitTest test)
 {
     pad.InitializeTestRun(test);
 }
Ejemplo n.º 7
0
		public TestSession (UnitTest test, IExecutionHandler context, TestResultsPad resultsPad, CancellationTokenSource cs)
		{
			this.test = test;
			this.context = context;
			CancellationTokenSource = cs;
			this.monitor = new TestMonitor (resultsPad, CancellationTokenSource);
			this.resultsPad = resultsPad;
			resultsPad.InitializeTestRun (test);
			Task = new Task (RunTests);
		}