TestAndCategoryPair Class
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.
Represents a match between a test and a test category that is used by the Test List Editor window of Visual Studio Test Professional.
public ref class TestAndCategoryPair
[System.Serializable]
public class TestAndCategoryPair
[<System.Serializable>]
type TestAndCategoryPair = class
Public Class TestAndCategoryPair
- Inheritance
-
TestAndCategoryPair
- Attributes
Constructors
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. |
Properties
CategoryId |
Gets the ID for the test category. |
Enabled |
Gets a value that indicates whether the link between the test and the category is enabled. |
IsBrokenLink |
Gets a value that indicates whether the link between the test and the category is broken. |
TestId |
Gets the ID for the test. |
Methods
Equals(Object) |
Determines whether the provided instance is equal to this instance. |
GetHashCode() | |
ToTestId(TestAndCategoryPair) |
Returns a TestId object by using the provided TestAndCategoryPair object. |
ToTestListCategoryId(TestAndCategoryPair) |
Returns a TestListCategoryId object by using the provided TestAndCategoryPair object. |
Operators
Implicit(TestAndCategoryPair to TestId) |
Represents an implicit operator when comparing a TestAndCategoryPair object with a TestId object. |
Implicit(TestAndCategoryPair to TestListCategoryId) |
Represents an implicit operator when comparing a TestAndCategoryPair object with a TestListCategoryId object. |