Package com.volantis.mcs.runtime.configuration

Examples of com.volantis.mcs.runtime.configuration.MarinerConfiguration


                "</projects>\n";
        }

        TestXmlConfigurationBuilder configBuilder =
                new TestXmlConfigurationBuilder(doc);
        MarinerConfiguration mariner = configBuilder.buildConfiguration();
        assertNotNull(mariner);
       
        if (value == null) {
            value = new MarinerValue();
        }
        assertEquals("assetUrlRewriterPluginClass",
                value.assetUrlRewriterPluginClass,
                mariner.getAssetURLRewriterPluginClass());
        assertEquals("assetTranscoderPluginClass",
                     value.assetTranscoderPluginClass,
                     mariner.getAssetTranscoderPluginClass());
        assertEquals("chartImagesBase", value.chartImagesBase,
                mariner.getChartImagesBase());
        assertEquals("imdRepositoryEnabled", value.imdRepositoryEnabled,
                mariner.getImdRepositoryEnabled());
        assertEquals("modesetsBase", value.modesetsBase,
                mariner.getModeSetsBase());
        assertEquals("pageMessageHeading", value.pageMessageHeading,
                mariner.getPageMessageHeading());
        assertEquals("scriptsBase", value.scriptsBase,
                mariner.getScriptsBase());
        assertEquals("styleSheet.maxAge", value.stylesheetMaxAge,
                mariner.getStylesheetMaxAge());
        assertEquals("urlRewriterPluginClass", value.urlRewriterPluginClass,
                mariner.getUrlRewriterPluginClass());
        assertEquals("pageURLRewriterPluginClass", value.pageURLRewriterPluginClass,
                mariner.getPageURLRewriterPluginClass());
        assertEquals("pagePackagingMime", value.pagePackagingMimeEnabled,
                mariner.getPagePackagingMimeEnabled());
        assertEquals("cookieMapping", value.sessionProxyCookieMappingEnabled,
                mariner.getSessionProxyCookieMappingEnabled());
    }
View Full Code Here


        }
        doc += "  </pipeline-configuration> \n";

        TestXmlConfigurationBuilder configBuilder =
                new TestXmlConfigurationBuilder(doc);
        MarinerConfiguration config = configBuilder.buildConfiguration();
        assertNotNull(config);

        return config;
    }
View Full Code Here

        return config;
    }

    public void testCompileTrue() throws ConfigurationException {
        MarinerConfiguration config = getMarinerConfiguration(
                                                        Boolean.TRUE, null);

        TransformConfiguration transform =
                    config.getPipelineConfiguration().
                        getTransformConfiguration();
        assertTrue("compile set wrong",
                   transform.isTemplateCompilationRequired());
    }
View Full Code Here

        assertTrue("compile set wrong",
                   transform.isTemplateCompilationRequired());
    }

    public void testCompileFalse() throws ConfigurationException {
        MarinerConfiguration config = getMarinerConfiguration(
                                                        Boolean.FALSE, null);

        TransformConfiguration transform =
                    config.getPipelineConfiguration().
                        getTransformConfiguration();
        assertTrue("compile set wrong",
                   !transform.isTemplateCompilationRequired());
    }
View Full Code Here

    // javadoc inherited
    protected void setUp() throws Exception {
        super.setUp();


        MarinerConfiguration marinerConfiguration = new MarinerConfiguration();
        PipelineConfiguration pipelineConfiguration =
                    new PipelineConfiguration();

        pipelineConfiguration.setWsDriverConfiguration(
                    new WSDriverConfiguration());
       
        marinerConfiguration.setPipelineConfiguration(pipelineConfiguration);
        MCSConfiguration mcsConfiguration =
                    new MCSConfiguration(marinerConfiguration);

        // create the pipeline intitialization
        pi = new PipelineInitialization(marinerConfiguration,
View Full Code Here

            doc += "  /> \n";
        }
       
        TestXmlConfigurationBuilder configBuilder =
                new TestXmlConfigurationBuilder(doc);
        MarinerConfiguration config = configBuilder.buildConfiguration();
        assertNotNull(config);
        AppServerConfiguration appServer = config.getAppServer();
        if (value != null) {
            assertNotNull("appServerConfiguration", appServer);
            assertEquals(value.baseUrl, appServer.getBaseUrl());
            assertEquals(value.internalUrl, appServer.getInternalUrl());
            assertEquals(value.pageBase, appServer.getPageBase());
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.configuration.MarinerConfiguration

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.