ITmi.GetTestResults Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
Returns
Microsoft.VisualStudio.TestTools.Common.TestResult[]
Exceptions
The run
parameter is null.