public void TableSchemaProviderTests_GetSchemaWithTableNameTest() { using (var connection = GetConnection()) { var actual = connection.GetSchema(VfpConnection.SchemaNames.Tables, new[] { "customers" }); var expected = TableSchemaProviderExpected.GetSchemaWithTableName(); //DataTableHelper.WriteDataTableCode("SchemaWithTableName", actual); DataTableHelper.AssertDataTablesAreEqual(expected, actual); } }
public void TableSchemaProviderTests_GetSchemaTest() { using (var connection = this.fixture.CreateConnection()) { var actual = connection.GetSchema(VfpConnection.SchemaNames.Tables); var expected = TableSchemaProviderExpected.GetSchema(); //DataTableHelper.WriteDataTableCode("Schema", actual); DataTableHelper.AssertDataTablesAreEqual(expected, actual); } }