Package org.ops4j.pax.exam.spi

Examples of org.ops4j.pax.exam.spi.DefaultExamReactor


    public void reactorRun(StagedExamReactorFactory strategy) throws Exception {
        TestContainerFactory factory = getFactory();
        Option[] options = new Option[] { regressionDefaults() };

        ExamSystem system = PaxExamRuntime.createTestSystem(options);
        ExamReactor reactor = new DefaultExamReactor(system, factory);
        TestProbeBuilder probe = makeProbe(system);

        reactor.addProbe(probe);
        reactor.addConfiguration(options);

        StagedExamReactor stagedReactor = reactor.stage(strategy);
        stagedReactor.beforeClass();
        try {
            for (TestAddress call : stagedReactor.getTargets()) {
                stagedReactor.invoke(call);
            }
View Full Code Here


     *
     * @param testClass
     * @return unstaged reactor
     */
    private DefaultExamReactor createReactor(Class<?> testClass) {
        return new DefaultExamReactor(system, createsTestContainerFactory(testClass));
    }
View Full Code Here

TOP

Related Classes of org.ops4j.pax.exam.spi.DefaultExamReactor

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.