Esempio n. 1
0
 public void UnregisterAsyncTestExecutor()
 {
     if (asyncTestExecutor != null)
     {
         asyncTestExecutor.Dispose();
         asyncTestExecutor = null;
     }
 }
Esempio n. 2
0
 public void UnregisterAsyncTestExecutor()
 {
     if (asyncTestExecutor != null)
     {
         asyncTestExecutor.Dispose();
         asyncTestExecutor = null;
     }
 }
Esempio 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);
            }
        }
Esempio n. 4
0
 public AsyncContext(IAsyncTestExecutor asyncTestExecutor)
 {
     this.asyncTestExecutor = asyncTestExecutor;
 }
Esempio n. 5
0
 public void RegisterAsyncTestExecutor(IAsyncTestExecutor newAsyncTestExecutor)
 {
     UnregisterAsyncTestExecutor();
     asyncTestExecutor = newAsyncTestExecutor;
 }
Esempio n. 6
0
 static public void RegisterAsyncTestExecutor(ITestRunner testRunner, IAsyncTestExecutor newAsyncTestExecutor)
 {
     AsyncTestRunner asyncTestRunner = testRunner as AsyncTestRunner;
     if (asyncTestRunner != null)
         asyncTestRunner.RegisterAsyncTestExecutor(newAsyncTestExecutor);
 }
Esempio n. 7
0
 public void RegisterAsyncTestExecutor(IAsyncTestExecutor newAsyncTestExecutor)
 {
     UnregisterAsyncTestExecutor();
     asyncTestExecutor = newAsyncTestExecutor;
 }
Esempio n. 8
0
 protected AsyncSteps(ITestRunner testRunner, IAsyncTestExecutor asyncTestExecutor) : base(testRunner)
 {
     this.asyncTestExecutor = asyncTestExecutor;
 }
Esempio n. 9
0
 public AsyncContext(IAsyncTestExecutor asyncTestExecutor)
 {
     this.asyncTestExecutor = asyncTestExecutor;
 }
Esempio n. 10
0
 protected AsyncSteps(ITestRunner testRunner, IAsyncTestExecutor asyncTestExecutor) : base(testRunner)
 {
     this.asyncTestExecutor = asyncTestExecutor;
 }