org.basex.test.xmldb
Class CollectionTest

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

public class CollectionTest
extends TestCase

This class tests the XMLDB/API Collection implementation.

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

Constructor Summary
CollectionTest()
           
 
Method Summary
 void testClose()
           
 void testCreateId()
           
 void testCreateResource()
           
 void testGetChildCollection()
           
 void testGetChildCollectionCount()
           
 void testGetName()
           
 void testGetParentCollection()
           
 void testGetProperty()
           
 void testGetResourceCount()
           
 void testGetService()
           
 void testGetServices()
           
 void testIsOpen()
           
 void testListChildCollections()
           
 void testListResources()
           
 void testRemoveResource()
           
 void testSetProperty()
           
 void testStoreResource()
           
 
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

CollectionTest

public CollectionTest()
Method Detail

testGetName

public void testGetName()
                 throws Exception
Throws:
Exception

testGetServices

public void testGetServices()
                     throws Exception
Throws:
Exception

testGetService

public void testGetService()
                    throws Exception
Throws:
Exception

testGetParentCollection

public void testGetParentCollection()
                             throws Exception
Throws:
Exception

testGetChildCollectionCount

public void testGetChildCollectionCount()
                                 throws Exception
Throws:
Exception

testListChildCollections

public void testListChildCollections()
                              throws Exception
Throws:
Exception

testGetChildCollection

public void testGetChildCollection()
                            throws Exception
Throws:
Exception

testGetResourceCount

public void testGetResourceCount()
                          throws Exception
Throws:
Exception

testListResources

public void testListResources()
                       throws Exception
Throws:
Exception

testCreateResource

public void testCreateResource()
                        throws Exception
Throws:
Exception

testStoreResource

public void testStoreResource()
                       throws Exception
Throws:
Exception

testRemoveResource

public void testRemoveResource()
                        throws Exception
Throws:
Exception

testCreateId

public void testCreateId()
                  throws Exception
Throws:
Exception

testIsOpen

public void testIsOpen()
                throws Exception
Throws:
Exception

testClose

public void testClose()
               throws Exception
Throws:
Exception

testGetProperty

public void testGetProperty()
                     throws Exception
Throws:
Exception

testSetProperty

public void testSetProperty()
                     throws Exception
Throws:
Exception