Package org.jboss.as.test.integration.domain

Examples of org.jboss.as.test.integration.domain.DomainTestSupport


    public static final Map<String, String []> serverProfiles = new HashMap<String, String[]>();
    public static final Map<String, Boolean> serverStatus = new HashMap<String, Boolean>();
     
    @BeforeClass
    public static void initSuite() throws Exception {
        domainSupport = new DomainTestSupport(CLITestSuite.class.getSimpleName(),
                "domain-configs/domain-standard.xml", "host-configs/host-master.xml", "host-configs/host-slave.xml");
        domainSupport.start();

        hostServers.put("master", new String[] {"main-one", "main-two", "other-one"});
        hostServers.put("slave", new String[] {"main-three", "main-four", "other-two"});
View Full Code Here


        }
    }

    private synchronized static void start(final String name) {
        try {
            final DomainTestSupport testSupport = new DomainTestSupport(name, CONFIGURATION);
            // Start!
            testSupport.start();
            support = testSupport;
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
View Full Code Here

    private static File slaveLastCfgFile = new File(domainDir, SLAVE_DIR + File.separator + CONFIG_DIR + File.separator
            + HOST_HISTORY_DIR + File.separator + SLAVE_NAME + ".last.xml");

    @BeforeClass
    public static void initDomain() throws Exception {
        domainSupport = new DomainTestSupport(ModelPersistenceTestCase.class.getSimpleName(),
                "domain-configs/domain-standard.xml", "host-configs/host-master.xml", "host-configs/host-slave.xml");
        domainSupport.start();
        domainMasterLifecycleUtil = domainSupport.getDomainMasterLifecycleUtil();
        domainSlaveLifecycleUtil = domainSupport.getDomainSlaveLifecycleUtil();
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.test.integration.domain.DomainTestSupport

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.