TestCategoryAttribute Class
TOC
Collapse the table of content
Expand the table of content

TestCategoryAttribute Class

 

Class that is used to specify the category of a unit test.

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

System.Object
  System.Attribute
    Microsoft.VisualStudio.TestTools.UnitTesting.TestCategoryBaseAttribute
      Microsoft.VisualStudio.TestTools.UnitTesting.TestCategoryAttribute

[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = true)>]
type TestCategoryAttribute = 
    class
        inherit TestCategoryBaseAttribute
    end

NameDescription
System_CAPS_pubmethodTestCategoryAttribute(String)

Initializes a new instance of the TestCategoryAttribute class by applying the supplied category to the test.

NameDescription
System_CAPS_pubpropertyTestCategories

Gets the test category that has been applied to the test.(Overrides TestCategoryBaseAttribute.TestCategories.)

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show:
© 2016 Microsoft