Package org.reficio.ws.test

Examples of org.reficio.ws.test.ServerProcessor


    private Statement statement(final Statement base, final Description description) {
        return new Statement() {
            @Override
            public void evaluate() throws Throwable {
                Server server = description.getAnnotation(Server.class);
                ServerProcessor processor = null;
                if (server != null) {
                    Class<?> testClass = description.getTestClass();
                    processor = new ServerProcessor(server, testClass);
                    processor.initServer();
                }
                try {
                    base.evaluate();
                } finally {
                    if (processor != null) {
                        processor.stopServer();
                    }
                }
            }
        };
    }
View Full Code Here

TOP

Related Classes of org.reficio.ws.test.ServerProcessor

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.