コード例 #1
0
        protected void ValidateUpdate(CruiseDatastore database)
        {
            VerifyTablesCanDelete(database);
            ValidateCRUD(database);

            using (var fresh = new DAL())
            {
                var tDiff = DiffTables(fresh, database);
                tDiff.Should().BeEmpty();

                var diff = DiffTableInfo(fresh, database);
                diff.Should().BeEmpty();
            }

            database.CheckTableExists("SamplerState").Should().BeTrue();
        }