Share via


DatabaseTestService Members

Include Protected Members
Include Inherited Members

Provides services to tests during execution.

The DatabaseTestService type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Aa833865.pubmethod(en-us,VS.90).gifAa833865.static(en-us,VS.90).gif DeployDatabaseProject Overloaded. Deploys the database project prior to the unit test being run.
Aa833865.pubmethod(en-us,VS.90).gif Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Aa833865.pubmethod(en-us,VS.90).gif Execute Executes the supplied DatabaseTestAction and evaluates the results of the execution using each TestCondition contained in the DatabaseTestAction's Conditions collection.
Aa833865.protmethod(en-us,VS.90).gif Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Aa833865.pubmethod(en-us,VS.90).gifAa833865.static(en-us,VS.90).gif GenerateData Overloaded. Generates data in the specified database project prior to the unit test being run.
Aa833865.pubmethod(en-us,VS.90).gif GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Aa833865.pubmethod(en-us,VS.90).gif GetType Gets the Type of the current instance. (Inherited from Object.)
Aa833865.protmethod(en-us,VS.90).gif MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Aa833865.pubmethod(en-us,VS.90).gif OpenExecutionContext Opens the ConnectionContext to be used for a test's execution.
Aa833865.pubmethod(en-us,VS.90).gif OpenPrivilegedContext Opens the context used when verifying the results of SQL execution and used when setting up the database.
Aa833865.pubmethod(en-us,VS.90).gif ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

See Also

Reference

DatabaseTestService Class

Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace