org.basex.test
Class DataUpdateTestAttributes

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

public final class DataUpdateTestAttributes
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
DataUpdateTestAttributes()
           
 
Method Summary
 void setUp()
          Create the database.
static void setUpBeforeClass()
          Setup the test.
 void tearDown()
          Delete the test-database.
 void testAddAttribute()
          Test the insertion of a new attribute.
 void testSize()
          Test for correct data size.
 void testUpdateAttribute()
          Test the update of an existing attribute.
 void testUpdateAttribute2()
          Test the update of an existing attribute.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataUpdateTestAttributes

public DataUpdateTestAttributes()
Method Detail

setUp

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

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

setUpBeforeClass

public static void setUpBeforeClass()
Setup the test.


tearDown

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

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

testAddAttribute

public void testAddAttribute()
                      throws java.lang.Exception
Test the insertion of a new attribute.

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.

testUpdateAttribute

public void testUpdateAttribute()
                         throws java.lang.Exception
Test the update of an existing attribute.

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

testUpdateAttribute2

public void testUpdateAttribute2()
                          throws java.lang.Exception
Test the update of an existing attribute.

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