org.basex.test.storage
Class DataUpdateTestDeletes

java.lang.Object
  extended by org.basex.test.storage.DataUpdateTest
      extended by org.basex.test.storage.DataUpdateTestDeletes

public final class DataUpdateTestDeletes
extends DataUpdateTest

This class tests the update features of the Data class.

Author:
Workgroup DBIS, University of Konstanz 2005-08, ISC License, Tim Petrowsky

Constructor Summary
DataUpdateTestDeletes()
           
 
Method Summary
 void testCascadingDelete()
          Test deletion of a node with a child.
 void testCascadingDelete2()
          Test deletion of a node with a child (with text) and attribute.
 void testDeleteAttribute()
          Test deletion of an attribute.
 void testDeleteText()
          For the sake of completeness.
 void testSimpleNodeDelete()
          Test deletion of a simple node.
 
Methods inherited from class org.basex.test.storage.DataUpdateTest
setUp, setUpBeforeClass, tearDown, testSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataUpdateTestDeletes

public DataUpdateTestDeletes()
Method Detail

testSimpleNodeDelete

public void testSimpleNodeDelete()
                          throws java.lang.Exception
Test deletion of a simple node.

Throws:
java.lang.Exception - in case of problems.

testCascadingDelete

public void testCascadingDelete()
                         throws java.lang.Exception
Test deletion of a node with a child.

Throws:
java.lang.Exception - in case of problems.

testCascadingDelete2

public void testCascadingDelete2()
                          throws java.lang.Exception
Test deletion of a node with a child (with text) and attribute.

Throws:
java.lang.Exception - in case of problems.

testDeleteAttribute

public void testDeleteAttribute()
                         throws java.lang.Exception
Test deletion of an attribute.

Throws:
java.lang.Exception - in case of problems.

testDeleteText

public void testDeleteText()
                    throws java.lang.Exception
For the sake of completeness. Test deletion of a text-node.

Throws:
java.lang.Exception - in case of problems.