Ejemplo n.º 1
0
 public void UnregisterAsyncTestExecutor()
 {
     if (asyncTestExecutor != null)
     {
         asyncTestExecutor.Dispose();
         asyncTestExecutor = null;
     }
 }
Ejemplo n.º 2
0
 public void UnregisterAsyncTestExecutor()
 {
     if (asyncTestExecutor != null)
     {
         asyncTestExecutor.Dispose();
         asyncTestExecutor = null;
     }
 }
Ejemplo n.º 3
0
        // This method is called from the generated code so that it can register the IAsyncTestExecutor, which
        // is the abstraction between us and the actual implementation of the async enqueueing stuff
        static public void RegisterAsyncTestExecutor(ITestRunner testRunner, IAsyncTestExecutor newAsyncTestExecutor)
        {
            var asyncTestRunner = testRunner as AsyncTestRunner;

            if (asyncTestRunner != null)
            {
                asyncTestRunner.RegisterAsyncTestExecutor(newAsyncTestExecutor);
            }
        }
Ejemplo n.º 4
0
 public AsyncContext(IAsyncTestExecutor asyncTestExecutor)
 {
     this.asyncTestExecutor = asyncTestExecutor;
 }
Ejemplo n.º 5
0
 public void RegisterAsyncTestExecutor(IAsyncTestExecutor newAsyncTestExecutor)
 {
     UnregisterAsyncTestExecutor();
     asyncTestExecutor = newAsyncTestExecutor;
 }
Ejemplo n.º 6
0
 static public void RegisterAsyncTestExecutor(ITestRunner testRunner, IAsyncTestExecutor newAsyncTestExecutor)
 {
     AsyncTestRunner asyncTestRunner = testRunner as AsyncTestRunner;
     if (asyncTestRunner != null)
         asyncTestRunner.RegisterAsyncTestExecutor(newAsyncTestExecutor);
 }
Ejemplo n.º 7
0
 public void RegisterAsyncTestExecutor(IAsyncTestExecutor newAsyncTestExecutor)
 {
     UnregisterAsyncTestExecutor();
     asyncTestExecutor = newAsyncTestExecutor;
 }
Ejemplo n.º 8
0
 protected AsyncSteps(ITestRunner testRunner, IAsyncTestExecutor asyncTestExecutor) : base(testRunner)
 {
     this.asyncTestExecutor = asyncTestExecutor;
 }
Ejemplo n.º 9
0
 public AsyncContext(IAsyncTestExecutor asyncTestExecutor)
 {
     this.asyncTestExecutor = asyncTestExecutor;
 }
Ejemplo n.º 10
0
 protected AsyncSteps(ITestRunner testRunner, IAsyncTestExecutor asyncTestExecutor) : base(testRunner)
 {
     this.asyncTestExecutor = asyncTestExecutor;
 }