Package org.apache.openejb.junit.jee.statement

Examples of org.apache.openejb.junit.jee.statement.StartingStatement


    }

    @Override
    public Statement apply(final Statement base, final Description description) {
        if (test == null) {
            startingStatement = new StartingStatement(base, description.getTestClass());
        } else {
            startingStatement = new StartingStatement(new Statement() {
                @Override
                // this class avoids a dependency loop issue, we have it actually but that's just to make a nicer API
                public void evaluate() throws Throwable {
                    // don't use testClass since it can be another instance that the test one
                    new InjectStatement(base, test.getClass(), test, startingStatement).evaluate();
View Full Code Here


        super(klass);
    }

    @Override
    protected Statement withBeforeClasses(final Statement statement) {
        startingStatement = new StartingStatement(super.withBeforeClasses(statement), getTestClass().getJavaClass());
        return startingStatement;
    }
View Full Code Here

TOP

Related Classes of org.apache.openejb.junit.jee.statement.StartingStatement

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.