Example #1
0
 private void NotifyObserversExecutionPhase(TestContext context, MemberInfo memberInfo, ExecutionPhases executionPhase)
 {
     foreach (var currentObserver in _testBehaviorObservers)
     {
         currentObserver.OnNext(new ExecutionStatus(context, memberInfo, executionPhase));
     }
 }
Example #2
0
 public ExecutionStatus(TestContext testContext, MemberInfo memberInfo, ExecutionPhases executionPhase)
 {
     TestContext    = testContext;
     MemberInfo     = memberInfo;
     ExecutionPhase = executionPhase;
 }
Example #3
0
 public ExecutionStatus(TestContext testContext, ExecutionPhases executionPhase) : this(testContext, null, executionPhase)
 {
 }
 public ExecutionStatus(TestContext testContext, MemberInfo memberInfo, ExecutionPhases executionPhase)
 {
     this.TestContext    = testContext;
     this.MemberInfo     = memberInfo;
     this.ExecutionPhase = executionPhase;
 }
 public ExecutionStatus(TestContext testContext, MemberInfo memberInfo, ExecutionPhases executionPhase)
 {
     this.TestContext = testContext;
     this.MemberInfo = memberInfo;
     this.ExecutionPhase = executionPhase;
 }
 public ExecutionStatus(TestContext testContext, ExecutionPhases executionPhase) : this(testContext, null, executionPhase)
 {
 }