TestRun.GetInnerTests Method
Retrieves the inner tests for the test that has the specified execution ID.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Function GetInnerTests ( _
executionId As TestExecId _
) As ITestElement()
public ITestElement[] GetInnerTests(
TestExecId executionId
)
public:
array<ITestElement^>^ GetInnerTests(
TestExecId^ executionId
)
member GetInnerTests :
executionId:TestExecId -> ITestElement[]
public function GetInnerTests(
executionId : TestExecId
) : ITestElement[]
Parameters
executionId
Type: Microsoft.VisualStudio.TestTools.Common.TestExecIdThe unique execution ID for the test.
Return Value
Type: array<Microsoft.VisualStudio.TestTools.Common.ITestElement[]
The inner test that has the specified execution ID. Returns null if the test that has the specified execution ID is not present in the test run, or is not an aggregation.
Remarks
If any test presents itself more than one time as an inner test, a cloned copy of the test will be present in the returned array. Each copy will have the correct execution ID.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.