protected internal virtual void OnTestMethodCompleted(TestMethodCompletedEventArgs e) { var handler = TestMethodCompleted; if (handler != null) { handler(this, e); } // Clear the test panel if (TestPanelManager != null) { TestPanelManager.ClearUsedChildren(); } }
/// <summary> /// Calls the test method completed event. /// </summary> /// <param name="e">The event data.</param> public void SendTestMethodCompleted(TestMethodCompletedEventArgs e) { _harness.OnTestMethodCompleted(e); }