/// <summary> /// Signal that the test has completed. /// </summary> public void SignalTestCompletion() { // signal file semaphore when not in interactive mode if (_iheFrameworkConfig.CommonConfig.Interactive == false) { FileSemaphore.SignalTestCompletion(); } }
/// <summary> /// Wait until told that the test has completed. /// </summary> public void PendTestCompletion() { // check if in interactive mode if (_iheFrameworkConfig.CommonConfig.Interactive == true) { // display message box that the user should close on test completion System.Windows.Forms.MessageBox.Show("Press OK when the test is complete."); } else { // pend on the file semaphore until test completion FileSemaphore.PendTestCompletion(); } }