Share via


ITmi.GetTestResults Method

Definition

Overloads

GetTestResults(TestRun, ITestElement)

Gets an array of test results from the provided test run that are in the provided test.

GetTestResults(TestRun)

Gets an array of test result objects from the provided test run.

GetTestResults(TestRun, ITestElement)

Gets an array of test results from the provided test run that are in the provided test.

public:
 cli::array <Microsoft::VisualStudio::TestTools::Common::TestResult ^> ^ GetTestResults(Microsoft::VisualStudio::TestTools::Common::TestRun ^ run, Microsoft::VisualStudio::TestTools::Common::ITestElement ^ test);
public Microsoft.VisualStudio.TestTools.Common.TestResult[] GetTestResults (Microsoft.VisualStudio.TestTools.Common.TestRun run, Microsoft.VisualStudio.TestTools.Common.ITestElement test);
abstract member GetTestResults : Microsoft.VisualStudio.TestTools.Common.TestRun * Microsoft.VisualStudio.TestTools.Common.ITestElement -> Microsoft.VisualStudio.TestTools.Common.TestResult[]
Public Function GetTestResults (run As TestRun, test As ITestElement) As TestResult()

Parameters

run
TestRun

A TestRun object.

test
ITestElement

A TestElement object.

Returns

Microsoft.VisualStudio.TestTools.Common.TestResult[]

An array of test results.

Applies to

GetTestResults(TestRun)

Gets an array of test result objects from the provided test run.

public:
 cli::array <Microsoft::VisualStudio::TestTools::Common::TestResult ^> ^ GetTestResults(Microsoft::VisualStudio::TestTools::Common::TestRun ^ run);
public Microsoft.VisualStudio.TestTools.Common.TestResult[] GetTestResults (Microsoft.VisualStudio.TestTools.Common.TestRun run);
abstract member GetTestResults : Microsoft.VisualStudio.TestTools.Common.TestRun -> Microsoft.VisualStudio.TestTools.Common.TestResult[]
Public Function GetTestResults (run As TestRun) As TestResult()

Parameters

run
TestRun

A TestRun object.

Returns

Microsoft.VisualStudio.TestTools.Common.TestResult[]

Exceptions

The run parameter is null.

Applies to