BaseUnitTest Methods

The BaseUnitTest type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetup
This method is called during the preparation phase of a test. It is executed before the target package or executable is executed. Implement this method to prepare the test. For example, create database objects or set package variables.
Protected methodTeardown
This method is called during the cleanup phase of a test. It is executed after the target package or executable has been executed and after the verification phase. Implement this method to clean up test objects. For example, drop database tables or delete files.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodVerify
This method is called during the verification phase of a test. It is executed after the package has been executed. Implement this method to check the test results. For example, check existance of rows in a table or change of variable value.

See Also