/// <summary>
 /// Called when a test error occurs.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 private void OnTestErrorOccured(object sender, TestErrorEventArgs e)
 {
     if (this.TestErrorOccurred != null)
     {
         this.TestErrorOccurred(sender, e);
     }
 }
Пример #2
0
        /// <summary>
        /// Handles the TestErrorOccurred event of the testManager control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="Wax.TestErrorEventArgs"/> instance containing the event data.</param>
        private void TestManagerTestErrorOccured(object sender, TestErrorEventArgs e)
        {
            this.errorsOccured = true;
            this.errors.Add(e.Error);

            if (this.TestErrorOccured != null)
            {
                this.TestErrorOccured(sender, e);
            }
        }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void testRunner_TestErrorOccured(object sender, TestErrorEventArgs e)
 {
     testErrorOccuredCount++;
 }