private void Generate(TablGenerator gen, string dirName) { TestLib.CopyDir("Generator", dirName); var dir = TestLib.TestRunDir + @"Generator\" + dirName + @"\"; gen.GenerateParams(dir); TestLib.CompareGeneratedParams(dir + "Compiled.accdb", dir + "CorrectCompiled.accdb"); }
public void GenCalcParams() { TestLib.CopyDir("Generator", "Module"); string dir = TestLib.TestRunDir + @"Generator\Module\"; var logger = new Logger(new TestIndicator()); logger.History = new TestHistory(logger); var gen = new TablGenerator(logger); gen.GenerateParams(dir); TestLib.CompareGeneratedParams(dir + "Compiled.accdb", dir + "CorrectCompiled.accdb"); }