org.basex.test.xmldb
Class XMLResourceTest

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

public class XMLResourceTest
extends junit.framework.TestCase

This class tests the XMLDB/API XMLResource implementation.

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

Constructor Summary
XMLResourceTest()
           
 
Method Summary
 void testGetContent()
           
 void testGetContentAsDOM()
           
 void testGetContentAsSAX()
           
 void testGetDocumentID()
           
 void testGetID()
           
 void testGetResourceType()
           
 void testParentCollection()
           
 void testSetContentAsDOM()
           
 void testSetContentAsSAX()
           
 
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

XMLResourceTest

public XMLResourceTest()
Method Detail

testParentCollection

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

testGetID

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

testGetResourceType

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

testGetContent

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

testGetDocumentID

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

testGetContentAsDOM

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

testSetContentAsDOM

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

testGetContentAsSAX

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

testSetContentAsSAX

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