SqlDatabaseTestActions Class

 

Represents a database unit test.

Namespace:   Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly:  Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions

public class SqlDatabaseTestActions : Component

NameDescription
System_CAPS_pubmethodSqlDatabaseTestActions()

Initializes a new instance of the SqlDatabaseTestActions class.

NameDescription
System_CAPS_protpropertyCanRaiseEvents

(Inherited from Component.)

System_CAPS_pubpropertyContainer

(Inherited from Component.)

System_CAPS_protpropertyDesignMode

(Inherited from Component.)

System_CAPS_protpropertyEvents

(Inherited from Component.)

System_CAPS_pubpropertyPosttestAction

Gets or sets the Transact-SQL statement(s) and test conditions that are executed after test execution.

System_CAPS_pubpropertyPretestAction

Gets or sets the Transact-SQL statement(s) and test conditions that are executed before the test.

System_CAPS_pubpropertySite

(Inherited from Component.)

System_CAPS_pubpropertyTestAction

Gets or sets the Transact-SQL statement(s) and test conditions that are executed during the test.

NameDescription
System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

(Inherited from Component.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Component.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetService(Type)

(Inherited from Component.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodToString()

(Inherited from Component.)

NameDescription
System_CAPS_pubeventDisposed

(Inherited from Component.)

This class represents a database unit test that was created by using the Database Unit Test designer. The code that was generated for the unit test operates on the properties of this class when it executes a test.

Database test actions are stored as private member variables in the generated code. This member variable is referenced at the beginning of the unit test method and its properties are used during test execution. Unit test methods are designated with the TestMethodAttribute.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: