internal RunAllMCutTestCasesCommand(MCutTestEntity test, MCutTestRunType runType, RunMCutTestOptions runOptions, bool interactive) : base(interactive) { _test = test; _runOptions = runOptions; _runType = runType; }
public override AppTasks.RunMCutTestCaseAppTask CreateRunTestTask(MCutTestRunType runType) { return(new AppTasks.RunPerformanceTestTask(this) { RunType = runType }); }
public override AppTasks.RunMCutTestCaseAppTask CreateRunTestTask(MCutTestRunType runType) { return(new AppTasks.RunMChessBasedTestTask(this) { RunType = runType }); }
internal RunMCutTestCaseCommand(MCutTestEntity test, MCutTestRunType runType, TestContextEntityBase context, TestArgs args, RunMCutTestOptions runOptions, bool interactive) : base(interactive) { _runOptions = runOptions; _createTaskFunc = () => { var task = (RunMCutTestCaseAppTask)test.CreateRunTestTask(runType); task.ParentEntity = test; task.TestContext = context; task.TestArgs = args; return(task); }; }
internal RunMCutTestCaseCommand(MCutTestCaseRunEntity prevTestRun, MCutTestRunType runType, RunMCutTestOptions runOptions, bool interactive) : base(interactive) //: this(testRun.OwningTest //, testRun.DataElement.Element(XTestResultNames.TestResult) //, testRun.OwningTest.CreateXTestCase(testRun.TestCase, prototype) //, prototype, interactive) { _runOptions = runOptions; _createTaskFunc = () => { var task = (RunMCutTestCaseAppTask)prevTestRun.OwningTest.CreateRunTestTask(runType); task.ParentEntity = prevTestRun.Result; task.PreviousRun = prevTestRun; return(task); }; }
/// <summary>When implemented in a derived class, creates a new instance that can run this test.</summary> public abstract AppTasks.RunMCutTestCaseAppTask CreateRunTestTask(MCutTestRunType runType);