org.basex.test.xmldb
Class XPathQueryServiceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.basex.test.xmldb.XPathQueryServiceTest
All Implemented Interfaces:
junit.framework.Test

public class XPathQueryServiceTest
extends junit.framework.TestCase

This class tests the XMLDB/API XPathQueryService implementation.

Author:
Workgroup DBIS, University of Konstanz 2005-08, ISC License, Christian Gruen

Constructor Summary
XPathQueryServiceTest()
           
 
Method Summary
 void testClearNamespace()
           
 void testGetName()
           
 void testGetNamespace()
           
 void testGetVersion()
           
 void testQuery()
           
 void testQueryResource()
           
 void testRemoveNamespace()
           
 void testSetCollection()
           
 void testSetNamespace()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPathQueryServiceTest

public XPathQueryServiceTest()
Method Detail

testSetNamespace

public void testSetNamespace()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testGetNamespace

public void testGetNamespace()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveNamespace

public void testRemoveNamespace()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testClearNamespace

public void testClearNamespace()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testQuery

public void testQuery()
               throws java.lang.Exception
Throws:
java.lang.Exception

testQueryResource

public void testQueryResource()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testGetName

public void testGetName()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testGetVersion

public void testGetVersion()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testSetCollection

public void testSetCollection()
                       throws java.lang.Exception
Throws:
java.lang.Exception