Пример #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);
 }
Пример #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);
 }
Пример #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);
		}
Пример #4
0
		public TestSession (UnitTest test, IExecutionHandler context, TestResultsPad resultsPad)
		{
			this.test = test;
			this.context = context;
			this.monitor = new TestMonitor (resultsPad);
		}
Пример #5
0
 public TestSession(UnitTest test, IExecutionHandler context, TestResultsPad resultsPad)
 {
     this.test    = test;
     this.context = context;
     this.monitor = new TestMonitor(resultsPad);
 }
		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);
		}