/// <summary>
        /// Fires the test class starting event.
        /// </summary>
        /// <param name="e">The event data.</param>
        protected internal virtual void OnTestClassStarting(TestClassStartingEventArgs e)
        {
            var handler = TestClassStarting;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Пример #2
0
        /// <summary>
        /// Process the test class starting event.
        /// </summary>
        /// <param name="sender">The source object.</param>
        /// <param name="e">The event data.</param>
        private void OnTestClassStarting(object sender, TestClassStartingEventArgs e)
        {
            TestClassData tac = GetClassModel(e.TestClass);
            tac.IsExpanded = true;

            _d.CurrentTest = e.TestClass.Name;
        }
 /// <summary>
 /// Calls the test class starting event handlers.
 /// </summary>
 /// <param name="e">The event data.</param>
 public void SendTestClassStarting(TestClassStartingEventArgs e)
 {
   _harness.OnTestClassStarting(e);
 }
Пример #4
0
 /// <summary>
 /// Fires the test class starting event.
 /// </summary>
 /// <param name="e">The event data.</param>
 protected internal virtual void OnTestClassStarting(TestClassStartingEventArgs e)
 {
   var handler = TestClassStarting;
   if (handler != null)
   {
     handler(this, e);
   }
 }
 /// <summary>
 /// Calls the test class starting event handlers.
 /// </summary>
 /// <param name="e">The event data.</param>
 public void SendTestClassStarting(TestClassStartingEventArgs e)
 {
     _harness.OnTestClassStarting(e);
 }