Example #1
0
 /// <summary>
 /// Construct a simple work item for a test.
 /// </summary>
 /// <param name="test">The test to be executed</param>
 /// <param name="context">The execution context in which the test is to be run</param>
 public SimpleWorkItem(TestMethod test, TestExecutionContext context)
     : base(test, context)
 {
     _command = test.GetTestCommand();
 }
Example #2
0
 /// <summary>
 /// Construct a simple work item for a test.
 /// </summary>
 /// <param name="test">The test to be executed</param>
 /// <param name="context">The execution context in which the test is to be run</param>
 public SimpleWorkItem(TestMethod test, TestExecutionContext context)
     : base(test, context)
 {
     _command = test.GetTestCommand();
 }