private void TestExecutor_OnExecutionBegin(TestExecutor testExecutor, TestExecutionBeginArgs args)
 {
     if (this.InvokeRequired)
     {
         OnTestExecutorExecutionBeginDelegate d = new OnTestExecutorExecutionBeginDelegate(onBeginningTestExecution);
         BeginInvoke(d, new object[] { testExecutor, args });
     }
     else
     {
         onBeginningTestExecution(testExecutor, args);
     }
 }
        private void TestExecutor_OnExecutionBegin(TestExecutor testExecutor)
        {
            Debug.WriteLine("TestExecutor_OnExecutionBegin");

            if (this.InvokeRequired)
            {
                OnTestExecutorExecutionBeginDelegate d = new OnTestExecutorExecutionBeginDelegate(onBeginningTestExecution);
                BeginInvoke(d, new object[] { testExecutor });
            }
            else
            {
                onBeginningTestExecution(testExecutor);
            }
        }