DataSetTestCondition Class
The base class for test conditions that operate on a DataSet and are configured by the user during test "design time". These conditions are configured by querying the database for the expected results of the test.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.TestCondition
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.DataSetTestCondition
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition
Syntax
public abstract class DataSetTestCondition : TestCondition
public ref class DataSetTestCondition abstract : TestCondition
[<AbstractClass>]
type DataSetTestCondition =
class
inherit TestCondition
end
Public MustInherit Class DataSetTestCondition
Inherits TestCondition
Constructors
Name | Description | |
---|---|---|
DataSetTestCondition() | Initializes a new instance of the DataSetTestCondition class. |
Properties
Name | Description | |
---|---|---|
CanRaiseEvents | (Inherited from Component.) |
|
Configuration | Gets or sets the configuration information for the test condition. |
|
Container | (Inherited from Component.) |
|
DesignMode | (Inherited from Component.) |
|
Enabled | Gets or sets a value that indicates whether the test condition is enabled.(Inherited from TestCondition.) |
|
Events | (Inherited from Component.) |
|
Name | Gets or sets the test condition name.(Inherited from TestCondition.) |
|
Site | (Inherited from Component.) |
Methods
Name | Description | |
---|---|---|
Assert(DbConnection, SqlExecutionResult[]) | Validates input parameters.(Inherited from TestCondition.) |
|
ConfigureExpectedDataSet(DataSet) | Called by the designer to set the expected dataset. |
|
CreateObjRef(Type) | (Inherited from MarshalByRefObject.) |
|
Dispose() | (Inherited from Component.) |
|
Dispose(Boolean) | (Inherited from Component.) |
|
DumpDataSet(DataSet) | Diagnostic method that outputs the contents of the specified data set. |
|
DumpResults(DataSet, DataSet) | Diagnostic method that outputs the expected test result, expected data set, environment, actual test result, and actual data set. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Component.) |
|
GetDataSet(SqlExecutionResult[]) | Extracts the DataSet from the test results. |
|
GetHashCode() | (Inherited from Object.) |
|
GetLifetimeService() | (Inherited from MarshalByRefObject.) |
|
GetService(Type) | (Inherited from Component.) |
|
GetType() | (Inherited from Object.) |
|
InitializeLifetimeService() | (Inherited from MarshalByRefObject.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) |
|
ToString() | (Inherited from Component.) |
|
WriteLine(String, Object[]) | Diagnostic method that outputs the specified formatted string by using WriteLine. |
Events
Name | Description | |
---|---|---|
Disposed | (Inherited from Component.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions Namespace
Return to top