Package com.mycila.testing.plugins.jetty.config

Examples of com.mycila.testing.plugins.jetty.config.Config


    {
        if (!hasJettyPlugin(testExecution.method())) {
            return;
        }

        final Config config = DefaultConfig.configFrom(testExecution.method());
        this.logger.info("jetty-config : " + config);

        if (config.isSkip()) {
            this.logger.debug("skip running webapp with Jetty");
            return;
        }

        if (this.actions.hasWebAppContext() && config.isDeployWebapp()) {
            this.actions.stopWebapp(config);
        }
        if (this.actions.hasServer() && config.isStartServer()) {
            this.actions.stopServer(config);
        }

        if (!this.actions.hasServer()) {
            this.actions.createServer(testExecution, config);
View Full Code Here


            this.logger.debug("skip " + JettyTestPlugin.class + " because there is no " + JettyRunWar.class
                    + " annotation on test class");
            return;
        }

        final Config config = DefaultConfig.configFrom(testExecution.method());
        this.logger.info("jetty-config : " + config);

        if (config.isSkip()) {
            this.logger.debug("skip stopping webapp");
            return;
        }

        if (this.actions.hasWebAppContext() && config.isDeployWebapp()) {
            this.actions.stopWebapp(config);
        }
        else {
            this.logger.info("stop webapp ? keep webapp running");
        }

        if (this.actions.hasServer() && config.isStartServer()) {
            this.actions.stopServer(config);
        }
        else {
            this.logger.info("stop server ? keep server running");
        }
View Full Code Here

TOP

Related Classes of com.mycila.testing.plugins.jetty.config.Config

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.