csUnit Class Library

TestAttribute Methods

The methods of the TestAttribute class are listed below. For a complete list of TestAttribute class members, see the TestAttribute Members topic.

Public Instance Methods

Equals (inherited from Attribute) 
ExecuteTest Executes a test. For csUnit internal use only.
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.
VotesError Marks this test as having an error.
VotesFail Returns 'true' if the attribute thinks the test has failed.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
HasError Called by an attribute when it has detected an error.
HasFailed Called by an attribute when it has detected a failure.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TestAttribute Class | csUnit Namespace