/// <summary> /// Fires the test method starting event. /// </summary> /// <param name="e">The event data.</param> protected internal virtual void OnTestMethodStarting(TestMethodStartingEventArgs e) { var handler = TestMethodStarting; if (handler != null) { handler(this, e); } }
/// <summary> /// Calls the test method starting event. /// </summary> /// <param name="e">The event data.</param> public void SendTestMethodStarting(TestMethodStartingEventArgs e) { _harness.OnTestMethodStarting(e); }
/// <summary> /// Process the start of a test method. /// </summary> /// <param name="sender">The source object.</param> /// <param name="e">The event data.</param> private void OnTestMethodStarting(object sender, TestMethodStartingEventArgs e) { TestClassData tac = GetClassModel(e.TestClass); TestMethodData tmd = GetMethodModel(e.TestMethod, tac); if (!tac.IsExpanded) { tac.IsExpanded = true; } tmd.IsRunning = true; _d.CurrentTestMethod = e.TestMethod.Name; }
private void OnTestMethodStarting(object sender, TestMethodStartingEventArgs testMethodStartingEventArgs) { if (_remoteTestingApplicationService != null) { _remoteTestingApplicationService.OnTestMethodStarting(sender, testMethodStartingEventArgs); } }
public void OnTestMethodStarting(object sender, TestMethodStartingEventArgs e) { var result = new TestMethodDetailedInformation() { Class = _silverlightUnitTestAbstractionsFactory.Convert(e.TestClass), Method = _silverlightUnitTestAbstractionsFactory.Convert(e.TestMethod) }; var serializedResult = _serializationService.Serialize(result); InvokeExternalMethod("TestMethodStarting", serializedResult); }