Share via


DatabaseTestClass Members

Include Protected Members
Include Inherited Members

Represents the base class for a database unit test.

The DatabaseTestClass type exposes the following members.

Constructors

  Name Description
Aa833861.pubmethod(en-us,VS.90).gif DatabaseTestClass Initializes a new instance of the DatabaseTestClass class.

Top

Methods

  Name Description
Aa833861.protmethod(en-us,VS.90).gif CleanupTest Called by the TestCleanup method in the generated unit testing class.
Aa833861.pubmethod(en-us,VS.90).gif CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Aa833861.pubmethod(en-us,VS.90).gif Dispose Overloaded.
Aa833861.pubmethod(en-us,VS.90).gif Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Aa833861.protmethod(en-us,VS.90).gif Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Aa833861.pubmethod(en-us,VS.90).gif GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Aa833861.pubmethod(en-us,VS.90).gif GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Aa833861.protmethod(en-us,VS.90).gif GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Aa833861.pubmethod(en-us,VS.90).gif GetType Gets the Type of the current instance. (Inherited from Object.)
Aa833861.pubmethod(en-us,VS.90).gif InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Aa833861.protmethod(en-us,VS.90).gif InitializeTest Called by the generated unit test class during test initialization.
Aa833861.protmethod(en-us,VS.90).gif MemberwiseClone Overloaded.
Aa833861.pubmethod(en-us,VS.90).gif ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)

Top

Properties

  Name Description
Aa833861.protproperty(en-us,VS.90).gif CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Aa833861.pubproperty(en-us,VS.90).gif Container Gets the IContainer that contains the Component. (Inherited from Component.)
Aa833861.protproperty(en-us,VS.90).gif DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Aa833861.protproperty(en-us,VS.90).gif Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Aa833861.protproperty(en-us,VS.90).gif ExecutionContext Gets or sets the execution context used to execute the T-SQL script associated with a test.
Aa833861.protproperty(en-us,VS.90).gif PrivilegedContext Gets or sets the privileged context used to verify test execution and execute and verify the pre and post-test actions for each test.
Aa833861.pubproperty(en-us,VS.90).gif Site Gets or sets the ISite of the Component. (Inherited from Component.)
Aa833861.pubproperty(en-us,VS.90).gif TestCleanupAction Gets or sets the DatabaseTestAction that will be executed after each test is run.
Aa833861.pubproperty(en-us,VS.90).gif TestContext Gets or sets the test context being used by the test infrastructure.
Aa833861.pubproperty(en-us,VS.90).gif TestInitializeAction Gets or sets the DatabaseTestAction that will be executed before each test is executed.
Aa833861.pubproperty(en-us,VS.90).gifAa833861.static(en-us,VS.90).gif TestService Gets or sets the instance of the DatabaseTestService class that is used by tests during execution.

Top

Events

  Name Description
Aa833861.pubevent(en-us,VS.90).gif Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)

Top

See Also

Reference

DatabaseTestClass Class

Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace