Export (0) Print
Expand All

TestAndCategoryPair Class

Represents a match between a test and a test category that is used by the Test List Editor window of Visual Studio Test Professional.

System.Object
  Microsoft.VisualStudio.TestTools.Common.TestAndCategoryPair

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

[SerializableAttribute]
public class TestAndCategoryPair

The TestAndCategoryPair type exposes the following members.

  NameDescription
Public methodTestAndCategoryPair(TestId, TestListCategoryId)Initializes a new instance of the TestAndCategoryPair class by using the provided test ID and category ID.
Public methodTestAndCategoryPair(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.
Top

  NameDescription
Public propertyCategoryIdGets the ID for the test category.
Public propertyEnabledGets a value that indicates whether the link between the test and the category is enabled.
Public propertyIsBrokenLinkGets a value that indicates whether the link between the test and the category is broken.
Public propertyTestIdGets the ID for the test.
Top

  NameDescription
Public methodEqualsDetermines whether the provided instance is equal to this instance. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodStatic memberToTestIdInfrastructure. Returns a TestId object by using the provided TestAndCategoryPair object.
Public methodStatic memberToTestListCategoryIdInfrastructure. Returns a TestListCategoryId object by using the provided TestAndCategoryPair object.
Top

  NameDescription
Public operatorStatic memberImplicit(TestAndCategoryPair to TestId)Infrastructure. Represents an implicit operator when comparing a TestAndCategoryPair object with a TestId object.
Public operatorStatic memberImplicit(TestAndCategoryPair to TestListCategoryId)Infrastructure. Represents an implicit operator when comparing a TestAndCategoryPair object with a TestListCategoryId object.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft