Package org.apache.torque.generator.control

Examples of org.apache.torque.generator.control.Controller.run()


        projectPaths.setOutputDirectory(null, TARGET_DIR);
        unitDescriptors.add(new UnitDescriptor(
                UnitDescriptor.Packaging.DIRECTORY,
                projectPaths,
                new DefaultTorqueGeneratorPaths()));
        controller.run(unitDescriptors);
        // TODO: check outcome against reference file
        assertTrue(OUTPUT_FILE.exists());
        assertEquals(
                "groovy test output",
                FileUtils.readFileToString(OUTPUT_FILE));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.