org.basex.test.storage
Class UpdateTestDeletes

java.lang.Object
  extended by org.basex.test.storage.UpdateTest
      extended by org.basex.test.storage.UpdateTestDeletes

public final class UpdateTestDeletes
extends UpdateTest

This class tests the update features of the Data class.

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

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

Constructor Detail

UpdateTestDeletes

public UpdateTestDeletes()
Method Detail

testSimpleNodeDelete

public void testSimpleNodeDelete()
Tests deletion of a simple node.


testCascadingDelete

public void testCascadingDelete()
Tests deletion of a node with a child.


testCascadingDelete2

public void testCascadingDelete2()
Tests deletion of a node with a child (with text) and attribute.


testDeleteAttribute

public void testDeleteAttribute()
Tests deletion of an attribute.


testDeleteText

public void testDeleteText()
For the sake of completeness. Tests deletion of a text-node.