Package com.volantis.xml.pipeline.sax

Examples of com.volantis.xml.pipeline.sax.IntegrationTestHelper


     * Test variable reference expression that belong in different scopes
     * @throws Exception if an error occurs.
     */
    public void testVariableScoping() throws Exception {

        doTest(new IntegrationTestHelper().getMultiExprPipelineFactory(),
               name + ".variableScope_input.xml",
               name + ".variableScope_expected.xml");
    }
View Full Code Here


     * @throws Exception if an error occurs.
     */
    public void testRemovalOfAttributeWhenEmptySequenceExpression()
            throws Exception {

        doTest(new IntegrationTestHelper().getMultiExprPipelineFactory(),
               name + "EmptySequence.input.xml",
               name + "EmptySequence.expected.xml");
    }
View Full Code Here

    }

    // javadoc inherited
    protected void registerExpressionFunctions(ExpressionContext context) {
        // add a function that returns an empty sequence when invoked
        new IntegrationTestHelper().registerEmptySequenceFunction(context);
    }
View Full Code Here

    /**
     * Test the convert from an absolute to relative url.
     */
    public void testConvertAbsoluteURLToRelativeURL() throws Exception {
        XMLPipelineFactory pipelineFactory =
                new IntegrationTestHelper().getPipelineFactory();

        XMLPipelineConfiguration pipelineConfiguration =
                createPipelineConfiguration();

        // Create a XMLPipelineContext
View Full Code Here

     */
    protected XMLPipelineConfiguration createPipelineConfiguration() {
        XMLPipelineConfiguration configuration = null;
        try {
            configuration =
                    new IntegrationTestHelper().getPipelineConfiguration();
        } catch (Exception e) {
            fail("Unable to create XMLPipelineConfiguration for test");
        }
        return configuration;
    }
View Full Code Here

     * Test that getBaseURL returns values explicitly set on the operation
     * ahead of values set on the process configuration.
     */
    public void testGetBaseURL() throws Exception {
        XMLPipelineFactory pipelineFactory =
                new IntegrationTestHelper().getPipelineFactory();

        XMLPipelineConfiguration pipelineConfiguration =
                createPipelineConfiguration();
        AbsoluteToRelativeURLConfiguration config =
                (AbsoluteToRelativeURLConfiguration) pipelineConfiguration.
View Full Code Here

     * Test that getSubstitutionPath returns values explicitly set on the
     * operation ahead of values set on the process configuration.
     */
    public void testGetSubstitutionPath() throws Exception {
        XMLPipelineFactory pipelineFactory =
                new IntegrationTestHelper().getPipelineFactory();

        XMLPipelineConfiguration pipelineConfiguration =
                createPipelineConfiguration();
        AbsoluteToRelativeURLConfiguration config =
                (AbsoluteToRelativeURLConfiguration) pipelineConfiguration.
View Full Code Here

    // javadoc inherited
    public void setUp() throws Exception {
        BasicConfigurator.configure();
        Category.getRoot().setPriority(Priority.DEBUG);
        pipelineFactory = new IntegrationTestHelper().getPipelineFactory();
    }
View Full Code Here

    /**
     * Test the conversion to lower case.
     */
    public void testElementCaseConverterToLower() throws Exception {
        doTest(new IntegrationTestHelper().getPipelineFactory(),
               "ElementCaseConverterToLowerTestCase.input.xml",
               "ElementCaseConverterToLowerTestCase.expected.xml");
    }
View Full Code Here

    /**
     * Test the conversion to upper case.
     */
    public void testElementCaseConverterToUpper() throws Exception {
        doTest(new IntegrationTestHelper().getPipelineFactory(),
               "ElementCaseConverterToUpperTestCase.input.xml",
               "ElementCaseConverterToUpperTestCase.expected.xml");
    }
View Full Code Here

TOP

Related Classes of com.volantis.xml.pipeline.sax.IntegrationTestHelper

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.