Beispiel #1
0
 public void PassDependencies(IRunnerFactory RunnerFactory, LightScript TestFixture, CommandRunningCallback Callback, ValueWrapper <bool> ShouldCancelRun)
 {
     // if ShouldCancelRun is set to true, the test run will stop
     // RunnerFactory is useful if command is nested and need to get other runners
     // TestFixture can be used to get nested commands
     m_Callback = Callback;
 }
Beispiel #2
0
 public TestData(IRunnerFactory RunnerFactory, LightScript TestFixture, CommandRunningCallback Callback,
                 bool ShouldCancelRun, bool ShouldFailTest)
 {
     this.RunnerFactory          = RunnerFactory;
     this.TestFixture            = TestFixture;
     this.CommandRunningCallback = Callback;
     this.ShouldCancelRun        = ShouldCancelRun;
     this.ShouldFailTest         = ShouldFailTest;
 }