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);
            }
        }
Exemplo n.º 2
0
        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);
            }
        }