org.basex.test
Class XMLDBTest

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

public class XMLDBTest
extends junit.framework.TestCase

This class tests the XMLDB features.

Author:
Workgroup DBIS, University of Konstanz 2005-08, ISC License, Andreas Weiler

Constructor Summary
XMLDBTest()
           
 
Method Summary
 void test1()
          Test for XPath.
 void test2()
          Test XML Document Retrieval.
 void test3()
          Test DOM Document Retrieval.
 void test4()
          Test SAX Document Retrieval.
 void test5()
          Test DOM Node Retrieval.
 void test6()
          Test Inserting a Text XML Document.
 void test7()
          Test Inserting a DOM Document.
 void test8()
          Test Inserting a SAX Document.
 void test9()
          Test Deleting a Resource.
 
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

XMLDBTest

public XMLDBTest()
Method Detail

test1

public void test1()
           throws java.lang.Exception
Test for XPath.

Throws:
java.lang.Exception - exception

test2

public void test2()
           throws java.lang.Exception
Test XML Document Retrieval.

Throws:
java.lang.Exception - exception

test3

public void test3()
           throws java.lang.Exception
Test DOM Document Retrieval.

Throws:
java.lang.Exception - exception

test4

public void test4()
           throws java.lang.Exception
Test SAX Document Retrieval.

Throws:
java.lang.Exception - exception

test5

public void test5()
           throws java.lang.Exception
Test DOM Node Retrieval.

Throws:
java.lang.Exception - exception

test6

public void test6()
           throws java.lang.Exception
Test Inserting a Text XML Document.

Throws:
java.lang.Exception - exception

test7

public void test7()
           throws java.lang.Exception
Test Inserting a DOM Document.

Throws:
java.lang.Exception - exception

test8

public void test8()
           throws java.lang.Exception
Test Inserting a SAX Document.

Throws:
java.lang.Exception - exception

test9

public void test9()
           throws java.lang.Exception
Test Deleting a Resource.

Throws:
java.lang.Exception - exception