ITmi.GetTestsNotInAnyTestList 方法

定义

重载

GetTestsNotInAnyTestList()

获取不在 Visual Studio Test Professional 的 UI 的任何测试列表中的测试的数组。

GetTestsNotInAnyTestList(TestRun)

获取一个测试数组,这些测试不在 Visual Studio Test Professional 的 UI 的任何测试列表中,并且位于所提供的测试运行中。

GetTestsNotInAnyTestList()

获取不在 Visual Studio Test Professional 的 UI 的任何测试列表中的测试的数组。

public:
 cli::array <Microsoft::VisualStudio::TestTools::Common::ITestElement ^> ^ GetTestsNotInAnyTestList();
public Microsoft.VisualStudio.TestTools.Common.ITestElement[] GetTestsNotInAnyTestList ();
abstract member GetTestsNotInAnyTestList : unit -> Microsoft.VisualStudio.TestTools.Common.ITestElement[]
Public Function GetTestsNotInAnyTestList () As ITestElement()

返回

ITestElement[]

未分类测试的数组; 如果未加载任何测试,或者没有未分类的测试,则为空数组。

适用于

GetTestsNotInAnyTestList(TestRun)

获取一个测试数组,这些测试不在 Visual Studio Test Professional 的 UI 的任何测试列表中,并且位于所提供的测试运行中。

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

参数

run
TestRun

TestRun 对象。

返回

ITestElement[]

未分类测试的数组; 如果未加载任何测试,或者没有未分类的测试,则为空数组。

适用于