Package com.volantis.xml.pipeline.sax

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


     * Test that a single item works.
     *
     * @throws Exception
     */
    public void testSingleItem() throws Exception {
        doTest(new TestPipelineFactory(),
                "single.input.xml", "single.expected.xml");
    }
View Full Code Here


     * Test that multiple items work.
     *
     * @throws Exception
     */
    public void testMultipleItems() throws Exception {
        doTest(new TestPipelineFactory(),
                "multiple.input.xml", "multiple.expected.xml");
    }
View Full Code Here

     * Test that nested for-each work.
     *
     * @throws Exception
     */
    public void testNestedItems() throws Exception {
        doTest(new TestPipelineFactory(),
                "nested.input.xml", "nested.expected.xml");
    }
View Full Code Here

     * sequence and therefore invokes flow control.
     *
     * @throws Exception
     */
    public void testNestedEmptyItems() throws Exception {
        doTest(new TestPipelineFactory(),
                "nested-empty.input.xml", "nested-empty.expected.xml");
    }
View Full Code Here

     * Test that nested for-each that use shadowed variables work.
     *
     * @throws Exception
     */
    public void testShadowedVariables() throws Exception {
        doTest(new TestPipelineFactory(),
                "shadowed.input.xml", "shadowed.expected.xml");
    }
View Full Code Here

    /**
     * Tests that a select is skipped if its expr evaluates to false
     */
    public void testSelectWithFalseExpression() throws Exception {
        doTest(
                new TestPipelineFactory(),
                "select-with-false-expression.input.xml",
                "select-with-false-expression.expected.xml");
    }
View Full Code Here

    /**
     * Tests that a select is included if its expr evaluates to true
     */
    public void testSelectWithTrueExpression() throws Exception {
        doTest(
                new TestPipelineFactory(),
                "select-with-true-expression.input.xml",
                "select-with-true-expression.expected.xml");
    }
View Full Code Here

    /**
     * Tests that a select is included if has no expr attribute
     */
    public void testSelectWithNoExpression() throws Exception {
        doTest(
                new TestPipelineFactory(),
                "select-with-no-expression.input.xml",
                "select-with-no-expression.expected.xml");
    }
View Full Code Here

    /**
     * Tests that a when in a select with a false expr is skipped
     */
    public void testWhenFalseExpression() throws Exception {
        doTest(
                new TestPipelineFactory(),
                "when-false.input.xml",
                "when-false.expected.xml");
    }
View Full Code Here

    /**
     * Tests that only the first 'true' when is included for matchfirst
     */
    public void testMultipleMatchfirst() throws Exception {
        doTest(
                new TestPipelineFactory(),
                "when-multiple-matchfirst.input.xml",
                "when-multiple-matchfirst.expected.xml");
    }
View Full Code Here

TOP

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

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.