Class TestOfAttribute
Indicates which class the test or test fixture is testing
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, 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.