tools/VsIdeHostAdapter/TargetAddIn/AgentSide/VsIdeHostAdapter.cs
/// <summary>
/// ITimeoutTestAdapter method: called when a test times out, to clean up the test
/// </summary>
/// <param name="test">The test that timed out</param>
ITimeoutTestAdapter method: called when a test times out, to clean up the test
ITimeoutTestAdapter method : called when a test times out to clean up the test
void ITimeoutTestAdapter.TestTimeout(ITestElement test)
        {
            TakeScreenShot("ScreenShot_Timeout_" + test.Name);
            try
            {
                ((ITimeoutTestAdapter)m_hostSide).TestTimeout(test);
            }
            catch (RemotingException remotingException)
            {
                SendResult("Remoting Exception in ITimeoutTestAdapter.TestTimeout(): " + remotingException.Message, TestOutcome.Warning);
            }
        }
void ITimeoutTestAdapter . TestTimeout ( ITestElement test ) { TakeScreenShot ( " " + test . Name ) ; try { ( ( ITimeoutTestAdapter ) m_hostSide ) . TestTimeout ( test ) ; } catch ( RemotingException remotingException ) { SendResult ( " " + remotingException . Message , TestOutcome . Warning ) ; } }
ITimeoutTestAdapter method: called when a test times out, to clean up the test
ITimeoutTestAdapter method : called when a test times out to clean up the test
test
ITestElement
The test that timed out
The test that timed out