/// <summary>
        /// Fires the test class completed event.
        /// </summary>
        /// <param name="e">The event data.</param>
        protected internal virtual void OnTestClassCompleted(TestClassCompletedEventArgs e)
        {
            var handler = TestClassCompleted;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Пример #2
0
 /// <summary>
 /// Process the test class complete event.
 /// </summary>
 /// <param name="sender">The source object.</param>
 /// <param name="e">The event data.</param>
 private void OnTestClassCompleted(object sender, TestClassCompletedEventArgs e)
 {
     TestClassData tac = GetClassModel(e.TestClass);
     if (tac != null)
     {
         tac.CollapseUnlessFailures();
     }
 }
 /// <summary>
 /// Calls the test class completed event.
 /// </summary>
 /// <param name="e">The event data.</param>
 public void SendTestClassCompleted(TestClassCompletedEventArgs e)
 {
   _harness.OnTestClassCompleted(e);
 }
Пример #4
0
 /// <summary>
 /// Fires the test class completed event.
 /// </summary>
 /// <param name="e">The event data.</param>
 protected internal virtual void OnTestClassCompleted(TestClassCompletedEventArgs e)
 {
   var handler = TestClassCompleted;
   if (handler != null)
   {
     handler(this, e);
   }
 }
 /// <summary>
 /// Calls the test class completed event.
 /// </summary>
 /// <param name="e">The event data.</param>
 public void SendTestClassCompleted(TestClassCompletedEventArgs e)
 {
     _harness.OnTestClassCompleted(e);
 }