Package com.volantis.xml.pipeline.sax

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


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

        pipelineFactory = new IntegrationTestHelper().getPipelineFactory();
    }
View Full Code Here


     * Test a transformation with flow control
     * @throws Exception if an error occurs
     */
    public void testTransform() throws Exception {

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

     */
    public void testPipeline() throws Exception {
        cpc.createCache("myCache", "1000", "0");

        XMLPipelineFactory pipelineFactory =
                new IntegrationTestHelper().getPipelineFactory();

        String path = getClass().getName().replace('.', '/');

        URL inputURL = getResourceURL(path + ".input-A.xml");
        URL expectedURL = getResourceURL(path + ".expected.xml");
View Full Code Here

     * Test a simple variable expression evaluation
     * @throws Exception if an error occurs
     */
    public void testSimpleVariableProcessing() throws Exception {

        doTest(new IntegrationTestHelper().getPipelineFactory(),
               name + ".simpleVar_input.xml",
               name + ".simpleVar_expected.xml");
    }
View Full Code Here

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

        doTest(new IntegrationTestHelper().getPipelineFactory(),
               name + ".qualifiedVar_input.xml",
               name + ".qualifiedVar_expected.xml");
    }
View Full Code Here

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

        doTest(new IntegrationTestHelper().getPipelineFactory(),
               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().getPipelineFactory(),
               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 a simple variable expression evaluation
     * @throws Exception if an error occurs
     */
    public void testSimpleVariableProcessing() throws Exception {

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

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

        doTest(new IntegrationTestHelper().getMultiExprPipelineFactory(),
               name + ".qualifiedVar_input.xml",
               name + ".qualifiedVar_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.