tools/VsIdeHostAdapter/TargetAddIn/AgentSide/VsIdeHostAdapter.cs
/// <summary>
/// ILoadTestAdapter method: called to execute a test. May be called in parallel with other tests.
/// </summary>
/// <param name="testElement">The test object to run</param>
/// <param name="testContext">The Test conext for this test invocation</param>
ILoadTestAdapter method: called to execute a test. May be called in parallel with other tests.
ILoadTestAdapter method : called to execute a test . May be called in parallel with other tests .
void ILoadTestAdapter.LoadRun(ITestElement testElement, ITestContext testContext)
        {
            lock (m_loadRunLock)
            {
                ((IBaseAdapter)this).Run(testElement, testContext);
            }
        }
void ILoadTestAdapter . LoadRun ( ITestElement testElement , ITestContext testContext ) { lock ( m_loadRunLock ) { ( ( IBaseAdapter ) this ) . Run ( testElement , testContext ) ; } }
ILoadTestAdapter method: called to execute a test.
ILoadTestAdapter method : called to execute a test .
// We want to be able to run under a load test, but at least for now we don't support producing load for // more than one user (one test at a time). So, we enforce that with a lock. The load test should still be // configured to use only one user in the scenario in which this test is included.
testElement
ITestElement
The test object to run
The test object to run
testContext
ITestContext
The Test conext for this test invocation
The Test conext for this test invocation