public static void skip(string file, int line, string s) { WvTest.report("skip ok", file, line, s); skips++; }
public static void Main() { SqlSuckerTest tests = new SqlSuckerTest(); WvTest tester = new WvTest(); tester.RegisterTest("EmptyTable", tests.EmptyTable); tester.RegisterTest("NonexistantTable", tests.NonexistantTable); tester.RegisterTest("BadSchemaTable", tests.BadSchemaTable); tester.RegisterTest("OutputNotEmpty", tests.OutputNotEmpty); tester.RegisterTest("ColumnTypes", tests.ColumnTypes); tester.RegisterTest("EmptyColumnName", tests.EmptyColumnName); tester.RegisterTest("RowOrdering", tests.RowOrdering); tester.RegisterTest("ColumnOrdering", tests.ColumnOrdering); tester.RegisterTest("VerifyIntegers", tests.VerifyIntegers); tester.RegisterTest("VerifyBinary", tests.VerifyBinary); tester.RegisterTest("VerifyBit", tests.VerifyBit); tester.RegisterTest("VerifyChar", tests.VerifyChar); tester.RegisterTest("VerifyDateTime", tests.VerifyDateTime); tester.RegisterTest("VerifyDecimal", tests.VerifyDecimal); tester.RegisterTest("VerifyFloat", tests.VerifyFloat); tester.RegisterTest("VerifyMoney", tests.VerifyMoney); tester.RegisterTest("VerifyTimestamp", tests.VerifyTimestamp); tester.RegisterTest("VerifyUniqueIdentifier", tests.VerifyUniqueIdentifier); tester.RegisterTest("VerifyVarBinaryMax", tests.VerifyVarBinaryMax); tester.RegisterTest("VerifyXML", tests.VerifyXML); tester.RegisterTest("Unicode", tests.Unicode); tester.RegisterTest("Recursion", tests.Recursion); tester.RegisterInit(tests.init); tester.RegisterCleanup(tests.cleanup); tester.Run(); Environment.Exit(tester.Failures); }