org.basex.test
Class DataUpdateTestTags

java.lang.Object
  extended by org.basex.test.DataUpdateTestTags

public final class DataUpdateTestTags
extends java.lang.Object

This class tests the update features of the Data class.

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

Constructor Summary
DataUpdateTestTags()
           
 
Method Summary
 void foo()
          Don't remove.
 void setUp()
          Create the database.
static void setUpBeforeClass()
          Delete the test-database.
 void tearDown()
          Delete the test-database.
 void testInsertTagAfterAttsAsFirst()
          Test insert as last child.
 void testInsertTagAfterAttsAsLast()
          Test insert as last child.
 void testInsertTagAfterAttsAsSecond()
          Test insert as last child.
 void testInsertTagAsOnly1()
          Test insert as last child.
 void testInsertTagAsOnly2()
          Test insert as last child.
 void testInsertTagAsOnly3()
          Test insert as last child.
 void testSize()
          Test for correct data size.
 void testUpdateTagName()
          Test updateTagName.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataUpdateTestTags

public DataUpdateTestTags()
Method Detail

foo

public void foo()
Don't remove.


setUp

public void setUp()
           throws java.lang.Exception
Create the database.

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

setUpBeforeClass

public static void setUpBeforeClass()
Delete the test-database.


tearDown

public void tearDown()
              throws java.lang.Exception
Delete the test-database.

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

testInsertTagAfterAttsAsFirst

public void testInsertTagAfterAttsAsFirst()
                                   throws java.lang.Exception
Test insert as last child.

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

testInsertTagAfterAttsAsLast

public void testInsertTagAfterAttsAsLast()
                                  throws java.lang.Exception
Test insert as last child.

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

testInsertTagAfterAttsAsSecond

public void testInsertTagAfterAttsAsSecond()
                                    throws java.lang.Exception
Test insert as last child.

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

testInsertTagAsOnly1

public void testInsertTagAsOnly1()
                          throws java.lang.Exception
Test insert as last child.

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

testInsertTagAsOnly2

public void testInsertTagAsOnly2()
                          throws java.lang.Exception
Test insert as last child.

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

testInsertTagAsOnly3

public void testInsertTagAsOnly3()
                          throws java.lang.Exception
Test insert as last child.

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

testSize

public void testSize()
              throws java.lang.Exception
Test for correct data size.

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

testUpdateTagName

public void testUpdateTagName()
                       throws java.lang.Exception
Test updateTagName.

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