Package com.volantis.mcs.testtools.application

Examples of com.volantis.mcs.testtools.application.MinimalXmlRepositoryAppConfigurator


    private void setUpContext() throws Exception {

        final ConfigFileBuilder builder = new ConfigFileBuilder();
        configValue = new ConfigValue();
        configurator =
                new MinimalXmlRepositoryAppConfigurator();

        configurator.setUp(configValue);

        builder.buildConfigDocument(configValue);
View Full Code Here


    public void doTestElementEnd(String invokeMethod) throws Exception {
        Volantis volantis = new TestableVolantis();
        ServletContextStub contextStub = new ServletContextStub();
       
        AppManager appManager = new AppManager(volantis, contextStub);
        appManager.setAppConf(new MinimalXmlRepositoryAppConfigurator() {
            public void setUp(ConfigValue config) throws Exception {
                super.setUp(config);

                ArgumentConfiguration ac = new ArgumentConfiguration();
                ac.setName("argName");
View Full Code Here

    }

    public void testInitializeNull() throws Exception {
        ConfigChecker checker =
                new ConfigChecker(volantis, servletContext);
        checker.setAppConf(new MinimalXmlRepositoryAppConfigurator() {
            public void setUp(ConfigValue config) throws Exception {
                super.setUp(config);
            }
        });
        checker.checkInitialisation();
View Full Code Here

     * @throws Exception
     */
    public void testInitializeBasicAndXMLRepositoryValues() throws Exception {
        ConfigChecker checker =
                new ConfigChecker(volantis, servletContext);
        checker.setAppConf(new MinimalXmlRepositoryAppConfigurator() {
            public void setUp(ConfigValue config) throws Exception {
                super.setUp(config);
                // Create a basic, valid set of configuration values.
                // (We do this from scratch rather than reuse another
                // configurator instance to ensure we get everything.)
View Full Code Here

     * Test that the configuration for markup plugins is correctly parsed.    
     */
    public void testInitializeMarkupPlugins() throws Exception {
        ConfigChecker checker =
                new ConfigChecker(volantis, servletContext);
        checker.setAppConf(new MinimalXmlRepositoryAppConfigurator() {
            public void setUp(ConfigValue config) throws Exception {
                super.setUp(config);
               
                List argList = makeArgumentList("myArg", "argValue", 3);
                config.markupPlugins = makePluginConfigurationList("myPlugin",
View Full Code Here

    }

    public void testInitializeAssetTranscoderPlugin() throws Exception {
        ConfigChecker checker =
            new ConfigChecker(volantis, servletContext);
        checker.setAppConf(new MinimalXmlRepositoryAppConfigurator() {
            // Inherit javadoc.
            public void setUp(ConfigValue config) throws Exception {
                super.setUp(config);

                config.assetTranscoderPluginClass =
View Full Code Here

     * @throws Exception
     */
    public void testInitialiseLocalPolicyCachePropertyValues() throws Exception {
        ConfigChecker checker =
                new ConfigChecker(volantis, servletContext);
        checker.setAppConf(new MinimalXmlRepositoryAppConfigurator() {
            public void setUp(ConfigValue config) throws Exception {
                // Include minimal requirements for dummy XML repository.
                super.setUp(config);
                // Add in the theme cache stuff
                ConfigValuePolicyCache cache = new ConfigValuePolicyCache();
View Full Code Here

     * @throws Exception
     */
    public void testInitialiseRemotePolicyCachePropertyValues() throws Exception {
        ConfigChecker checker =
                new ConfigChecker(volantis, servletContext);
        checker.setAppConf(new MinimalXmlRepositoryAppConfigurator() {
            public void setUp(ConfigValue config) throws Exception {
                // Include minimal requirements for dummy XML repository.
                super.setUp(config);
                // Add in the remote policy cache stuff
                // First add an entry for the global settings
View Full Code Here

     * @throws Exception
     */
    public void testInitialiseRemotePolicyQuotaPropertyValues() throws Exception {
        ConfigChecker checker =
                new ConfigChecker(volantis, servletContext);
        checker.setAppConf(new MinimalXmlRepositoryAppConfigurator() {
            public void setUp(ConfigValue config) throws Exception {
                // Include minimal requirements for dummy XML repository.
                super.setUp(config);
                // Add in the remote quota cache stuff
                // First an entry for the global settings
View Full Code Here

TOP

Related Classes of com.volantis.mcs.testtools.application.MinimalXmlRepositoryAppConfigurator

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.