Package com.volantis.xml.expression.sequence

Examples of com.volantis.xml.expression.sequence.Sequence


     * Tests the {@link PipelineExpressionHelper#fnBoolean} method with a
     * Sequence with more than one item
     * @throws Exception if an error occurs
     */
    public void testFnBooleanSequenceSeveralItems() throws Exception {
        Sequence seq = factory.createSequence(
                new Item[]{BooleanValue.TRUE,
                           BooleanValue.TRUE});

        doTestFnBoolean(seq, true);
    }
View Full Code Here


     * Tests the {@link PipelineExpressionHelper#fnBoolean} method with a
     * Sequence of one Boolean false item
     * @throws Exception if an error occurs
     */
    public void testFnBooleanSequenceBooleanFalseItem() throws Exception {
        Sequence seq = BooleanValue.FALSE.getSequence();
        doTestFnBoolean(seq, false);
    }
View Full Code Here

     * Tests the {@link PipelineExpressionHelper#fnBoolean} method with a
     * Sequence of one Boolean true item
     * @throws Exception if an error occurs
     */
    public void testFnBooleanSequenceBooleanTrueItem() throws Exception {
        Sequence seq = BooleanValue.TRUE.getSequence();
        doTestFnBoolean(seq, true);
    }
View Full Code Here

     * Tests the {@link PipelineExpressionHelper#fnBoolean} method with a
     * Sequence of one zero IntValue item that
     * @throws Exception if an error occurs
     */
    public void testFnBooleanSequenceZeroIntItem() throws Exception {
        Sequence seq = factory.createIntValue(0).getSequence();
        doTestFnBoolean(seq, false);
    }
View Full Code Here

     * Sequence of one non-zero IntValue item that
     * @throws Exception if an error occurs
     */
    public void testFnBooleanSequenceNonZeroIntItem() throws Exception {

        Sequence seq = factory.createIntValue(99).getSequence();
        doTestFnBoolean(seq, true);
    }
View Full Code Here

     * Sequence of one zero DoubleValue item that
     * @throws Exception if an error occurs
     */
    public void testFnBooleanSequenceZeroDoubleItem() throws Exception {

        Sequence seq = factory.createDoubleValue(-0.0).getSequence();
        doTestFnBoolean(seq, false);
    }
View Full Code Here

     * Sequence of one non-zero DoubleValue item that
     * @throws Exception if an error occurs
     */
    public void testFnBooleanSequenceNonZeroDoubleItem() throws Exception {

        Sequence seq = factory.createDoubleValue(0.3).getSequence();
        doTestFnBoolean(seq, true);
    }
View Full Code Here

     * Sequence of one NaN DoubleValue item that
     * @throws Exception if an error occurs
     */
    public void testFnBooleanSequenceNaNDoubleItem() throws Exception {

        Sequence seq = DoubleValue.NOT_A_NUMBER.getSequence();
        doTestFnBoolean(seq, false);
    }
View Full Code Here

     * Sequence of one positive infinity DoubleValue item that
     * @throws Exception if an error occurs
     */
    public void testFnBooleanSequencePosInfDoubleItem() throws Exception {

        Sequence seq = DoubleValue.POSITIVE_INFINITY.getSequence();
        doTestFnBoolean(seq, true);
    }
View Full Code Here

     * Sequence of one negative infinity DoubleValue item that
     * @throws Exception if an error occurs
     */
    public void testFnBooleanSequenceNegInfDoubleItem() throws Exception {

        Sequence seq = DoubleValue.NEGATIVE_INFINITY.getSequence();
        doTestFnBoolean(seq, true);
    }
View Full Code Here

TOP

Related Classes of com.volantis.xml.expression.sequence.Sequence

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.