Class TestOfAttribute
Indicates the method or class the assembly, test fixture or test method is testing.
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class TestOfAttribute : PropertyAttribute, IApplyToTest
- Inheritance
-
TestOfAttribute
- Implements
- Inherited Members
Constructors
TestOfAttribute(string)
Initializes a new instance of the TestOfAttribute class.
public TestOfAttribute(string typeName)
Parameters
typeName
stringThe type that is being tested.
TestOfAttribute(Type)
Initializes a new instance of the TestOfAttribute class.
public TestOfAttribute(Type type)
Parameters
type
TypeThe type that is being tested.