org.exist.xquery.test
Class XQueryFunctionsTest

java.lang.Object
  extended byTestCase
      extended byorg.exist.xquery.test.XQueryFunctionsTest

public class XQueryFunctionsTest
extends TestCase

Tests for various standart XQuery functions

Author:
jens
See Also:
Serialized Form

Constructor Summary
XQueryFunctionsTest(java.lang.String arg0)
          Constructor for XQueryFunctionsTest.
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAvg()
           
 void testCollectionExists1()
           
 void testCollectionExists2()
           
 void testCompare()
           
 void testCurrentDateTime()
           
 void testDeepEqual()
           
 void testDistinctValues()
           
 void testEncodeForURI()
           
 void testEscapeHTMLURI()
           
 void testExclusiveLock()
           
 void testIRIToURI()
           
 void testLocalName()
           
 void testMax()
           
 void testMin()
           
 void testRoundHtE_DOUBLE()
          Tests the XQuery-/XPath-function fn:round-half-to-even with the rounding value typed xs:double
 void testRoundHtE_INTEGER()
          Tests the XQuery-/XPath-function fn:round-half-to-even with the rounding value typed xs:integer
 void testSharedLock()
           
 void testSum()
           
 void testTokenize()
          Tests the XQuery-XPath function fn:tokenize()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XQueryFunctionsTest

public XQueryFunctionsTest(java.lang.String arg0)
Constructor for XQueryFunctionsTest.

Parameters:
arg0 -
Method Detail

main

public static void main(java.lang.String[] args)
                 throws XPathException
Throws:
XPathException

testRoundHtE_INTEGER

public void testRoundHtE_INTEGER()
                          throws XPathException
Tests the XQuery-/XPath-function fn:round-half-to-even with the rounding value typed xs:integer

Throws:
XPathException

testRoundHtE_DOUBLE

public void testRoundHtE_DOUBLE()
                         throws XPathException
Tests the XQuery-/XPath-function fn:round-half-to-even with the rounding value typed xs:double

Throws:
XPathException

testTokenize

public void testTokenize()
                  throws XPathException
Tests the XQuery-XPath function fn:tokenize()

Throws:
XPathException

testDeepEqual

public void testDeepEqual()
                   throws XPathException
Throws:
XPathException

testCompare

public void testCompare()
                 throws XPathException
Throws:
XPathException

testDistinctValues

public void testDistinctValues()
                        throws XPathException
Throws:
XPathException

testSum

public void testSum()
             throws XPathException
Throws:
XPathException

testAvg

public void testAvg()
             throws XPathException
Throws:
XPathException

testMin

public void testMin()
             throws XPathException
Throws:
XPathException

testMax

public void testMax()
             throws XPathException
Throws:
XPathException

testExclusiveLock

public void testExclusiveLock()
                       throws XPathException
Throws:
XPathException

testSharedLock

public void testSharedLock()
                    throws XPathException
Throws:
XPathException

testEncodeForURI

public void testEncodeForURI()

testIRIToURI

public void testIRIToURI()

testEscapeHTMLURI

public void testEscapeHTMLURI()

testLocalName

public void testLocalName()
                   throws XPathException
Throws:
XPathException

testCurrentDateTime

public void testCurrentDateTime()
                         throws XPathException
Throws:
XPathException

testCollectionExists1

public void testCollectionExists1()

testCollectionExists2

public void testCollectionExists2()

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.