RunAsync() приватный Метод

Runs the tests in an assembly asynchronously reporting back the test results through the callback
private RunAsync ( Action callback, string filter ) : void
callback Action The callback that receives the test results
filter string A string containing the XML representation of the filter to use
Результат void
Пример #1
0
 /// <summary>
 /// Construct a RunAsyncAction and run all tests in the loaded TestSuite.
 /// </summary>
 /// <param name="controller">A FrameworkController holding the TestSuite to run</param>
 /// <param name="filter">A string containing the XML representation of the filter to use</param>
 /// <param name="handler">A callback handler used to report results</param>
 public RunAsyncAction(FrameworkController controller, string filter, object handler)
 {
     controller.RunAsync((ICallbackEventHandler)handler, filter);
 }
Пример #2
0
 /// <summary>
 /// Construct a RunAsyncAction and run all tests in the loaded TestSuite.
 /// </summary>
 /// <param name="controller">A FrameworkController holding the TestSuite to run</param>
 /// <param name="filter">A string containing the XML representation of the filter to use</param>
 /// <param name="handler">A callback handler used to report results</param>
 public RunAsyncAction(FrameworkController controller, string filter, object handler) 
 {
     controller.RunAsync((ICallbackEventHandler)handler, filter);
 }