TestAndCategoryPair Constructors

Definition

Overloads

TestAndCategoryPair(TestId, TestListCategoryId)

Initializes a new instance of the TestAndCategoryPair class by using the provided test ID and category ID.

TestAndCategoryPair(TestId, TestListCategoryId, Boolean, Boolean)

Initializes a new instance of the TestAndCategoryPair class by using the provided test and category IDs and the indicator for a broken link.

TestAndCategoryPair(TestId, TestListCategoryId)

Initializes a new instance of the TestAndCategoryPair class by using the provided test ID and category ID.

public:
 TestAndCategoryPair(Microsoft::VisualStudio::TestTools::Common::TestId ^ testId, Microsoft::VisualStudio::TestTools::Common::TestListCategoryId ^ categoryId);
public TestAndCategoryPair (Microsoft.VisualStudio.TestTools.Common.TestId testId, Microsoft.VisualStudio.TestTools.Common.TestListCategoryId categoryId);
new Microsoft.VisualStudio.TestTools.Common.TestAndCategoryPair : Microsoft.VisualStudio.TestTools.Common.TestId * Microsoft.VisualStudio.TestTools.Common.TestListCategoryId -> Microsoft.VisualStudio.TestTools.Common.TestAndCategoryPair
Public Sub New (testId As TestId, categoryId As TestListCategoryId)

Parameters

testId
TestId

A TestId that identifies a specific test.

categoryId
TestListCategoryId

A TestListCategoryId that identifies a test category.

Applies to

TestAndCategoryPair(TestId, TestListCategoryId, Boolean, Boolean)

Initializes a new instance of the TestAndCategoryPair class by using the provided test and category IDs and the indicator for a broken link.

public:
 TestAndCategoryPair(Microsoft::VisualStudio::TestTools::Common::TestId ^ testId, Microsoft::VisualStudio::TestTools::Common::TestListCategoryId ^ categoryId, bool isBrokenLink, bool isEnabled);
public TestAndCategoryPair (Microsoft.VisualStudio.TestTools.Common.TestId testId, Microsoft.VisualStudio.TestTools.Common.TestListCategoryId categoryId, bool isBrokenLink, bool isEnabled);
new Microsoft.VisualStudio.TestTools.Common.TestAndCategoryPair : Microsoft.VisualStudio.TestTools.Common.TestId * Microsoft.VisualStudio.TestTools.Common.TestListCategoryId * bool * bool -> Microsoft.VisualStudio.TestTools.Common.TestAndCategoryPair
Public Sub New (testId As TestId, categoryId As TestListCategoryId, isBrokenLink As Boolean, isEnabled As Boolean)

Parameters

testId
TestId

A TestId that identifies a specific test.

categoryId
TestListCategoryId

A TestListCategoryId that identifies a test category.

isBrokenLink
Boolean

true if the link between the test and category is broken.

isEnabled
Boolean

true if the link between the test and the category is enabled.

Applies to