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