Beispiel #1
0
 /// <summary>
 /// Sets the result of asynchronous operation.
 /// It will stop waiting in the main thread and verify the test result.
 /// </summary>
 public void Signal(bool success)
 {
     lock (this)
     {
         condition++;
         result = success ? WaiterResults.Success : WaiterResults.Failed;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Sets the result of asynchronous operation.
 /// It will stop waiting in the main thread and verify the test result.
 /// </summary>
 public void Signal(bool success)
 {
     lock (this)
     {
         condition++;
         result = success ? WaiterResults.Success : WaiterResults.Failed;
     }
 }
Beispiel #3
0
 public void Reset()
 {
     result = WaiterResults.Unknown;
 }
Beispiel #4
0
 public void Reset()
 {
     result = WaiterResults.Unknown;
 }