Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the base class for a database unit test.
The following tables list the members exposed by the DatabaseTestClass type.
Public Constructors
| Name | Description | |
|---|---|---|
![]() |
DatabaseTestClass | Initializes a new instance of the DatabaseTestClass class. |
Top
Public Properties
(see also Protected Properties )
| Name | Description | |
|---|---|---|
![]() |
Container | (Inherited from Component.) |
![]() |
Site | (Inherited from Component.) |
![]() |
TestCleanupAction | Gets or sets the DatabaseTestAction that will be executed after each test is run. |
![]() |
TestContext | Gets or sets the test context being used by the test infrastructure. |
![]() |
TestInitializeAction | Gets or sets the DatabaseTestAction that will be executed before each test is executed. |
![]() |
TestService | Gets or sets the instance of the DatabaseTestService class that is used by tests during execution. |
Top
Protected Properties
| Name | Description | |
|---|---|---|
![]() |
CanRaiseEvents | (Inherited from Component.) |
![]() |
DesignMode | (Inherited from Component.) |
![]() |
Events | (Inherited from Component.) |
![]() |
ExecutionContext | Gets or sets the execution context used to execute the T-SQL script associated with a test. |
![]() |
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. |
Top
Public Methods
(see also Protected Methods )
| Name | Description | |
|---|---|---|
![]() |
CreateObjRef | (Inherited from MarshalByRefObject.) |
![]() |
Dispose | Overloaded. (Inherited from Component.) |
![]() |
Equals | Overloaded. (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetLifetimeService | (Inherited from MarshalByRefObject.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
InitializeLifetimeService | (Inherited from MarshalByRefObject.) |
![]() |
ReferenceEquals | (Inherited from Object.) |
![]() |
ToString | (Inherited from Component.) |
Top
Protected Methods
| Name | Description | |
|---|---|---|
![]() |
CleanupTest | Called by the TestCleanup method in the generated unit testing class. |
![]() |
Dispose | Overloaded. (Inherited from Component.) |
![]() |
Finalize | (Inherited from Component.) |
![]() |
GetService | (Inherited from Component.) |
![]() |
InitializeTest | Called by the generated unit test class during test initialization. |
![]() |
MemberwiseClone | Overloaded. (Inherited from MarshalByRefObject.) |
Top
Public Events
| Name | Description | |
|---|---|---|
![]() |
Disposed | (Inherited from Component.) |
Top
See Also
Reference
DatabaseTestClass Class
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)