Package org.apache.ant.antunit.junit3

Examples of org.apache.ant.antunit.junit3.AntUnitSuite$MyProjectFactory


public class TagDatabaseTaskTest extends AbstractAntTaskTest {
    public static TestSuite suite() throws URISyntaxException {
        setProperties();
        URL resource = TagDatabaseTaskTest.class.getResource("/liquibase/integration/ant/TagDatabaseTaskTest.xml");
        File file = new File(resource.toURI());
        return new AntUnitSuite(file, TagDatabaseTaskTest.class);
    }
View Full Code Here


public class GenerateChangeLogTaskTest extends AbstractAntTaskTest {
    public static TestSuite suite() throws URISyntaxException {
        setProperties();
        URL resource = GenerateChangeLogTaskTest.class.getResource("/liquibase/integration/ant/GenerateChangeLogTaskTest.xml");
        File file = new File(resource.toURI());
        return new AntUnitSuite(file, GenerateChangeLogTaskTest.class);
    }
View Full Code Here

public class DiffDatabaseToChangeLogTaskTest extends AbstractAntTaskTest {
    public static TestSuite suite() throws URISyntaxException {
        setProperties();
        URL resource = DiffDatabaseToChangeLogTaskTest.class.getResource("/liquibase/integration/ant/DiffDatabaseToChangeLogTaskTest.xml");
        File file = new File(resource.toURI());
        return new AntUnitSuite(file, DiffDatabaseToChangeLogTaskTest.class);
    }
View Full Code Here

public class DatabaseRollbackTaskTest extends AbstractAntTaskTest {
    public static TestSuite suite() throws URISyntaxException {
        setProperties();
        URL resource = DatabaseRollbackTaskTest.class.getResource("/liquibase/integration/ant/DatabaseRollbackTaskTest.xml");
        File file = new File(resource.toURI());
        return new AntUnitSuite(file, DatabaseRollbackTaskTest.class);
    }
View Full Code Here

public class DropAllTaskTest extends AbstractAntTaskTest {
    public static TestSuite suite() throws URISyntaxException {
        setProperties();
        URL resource = DropAllTaskTest.class.getResource("/liquibase/integration/ant/DropAllTaskTest.xml");
        File file = new File(resource.toURI());
        return new AntUnitSuite(file, DropAllTaskTest.class);
    }
View Full Code Here

public class DBDocTaskTest extends AbstractAntTaskTest {
    public static TestSuite suite() throws URISyntaxException {
        setProperties();
        URL resource = DBDocTaskTest.class.getResource("/liquibase/integration/ant/DBDocTaskTest.xml");
        File file = new File(resource.toURI());
        return new AntUnitSuite(file, DBDocTaskTest.class);
    }
View Full Code Here

public class DatabaseUpdateTestingRollbackTaskTest extends AbstractAntTaskTest {
    public static TestSuite suite() throws URISyntaxException {
        setProperties();
        URL resource = DatabaseUpdateTestingRollbackTaskTest.class.getResource("/liquibase/integration/ant/DatabaseUpdateTestingRollbackTaskTest.xml");
        File file = new File(resource.toURI());
        return new AntUnitSuite(file, DatabaseUpdateTestingRollbackTaskTest.class);
    }
View Full Code Here

        } else {
            Enumeration tests = suite.tests();
            while (tests.hasMoreElements()) {
                TestCase nextTc = (TestCase) tests.nextElement();
                //TODO Handle the possibility for the user to define suite of AntUnit scripts             
              AntUnitTestCase tc = (AntUnitTestCase) nextTc;
              Description tc_desc = Description.createTestDescription(junitTestClass, tc.getName());
              targetDescriptions.put(tc.getTarget(), tc_desc);
              targetsOrder.add(tc.getTarget());
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.ant.antunit.junit3.AntUnitSuite$MyProjectFactory

Copyright © 2018 www.massapicom. 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.