org.openbandy.test
Class DatabaseSerializerTest

java.lang.Object
  extended by org.openbandy.test.DatabaseSerializerTest

public class DatabaseSerializerTest
extends java.lang.Object

TODO describe purpose and usage

(c) Copyright Philipp Bolliger 2007, ALL RIGHTS RESERVED.

Version:
0.1
Author:
Philipp Bolliger (philipp@bolliger.name)

Constructor Summary
DatabaseSerializerTest()
           
 
Method Summary
 void setUp()
          Setup the unit test, create a new car object.
 void tearDown()
          After testing the store and load methods, delete the object in the database and assure that is not contained therein afterwards.
 void testStoreAndLoad()
          Test method for DatabaseSerializerImpl.store(org.openbandy.io.Serializable) and DatabaseSerializerImpl.load(org.openbandy.io.Serializable, int).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseSerializerTest

public DatabaseSerializerTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Setup the unit test, create a new car object.

Throws:
java.lang.Exception

testStoreAndLoad

public void testStoreAndLoad()
Test method for DatabaseSerializerImpl.store(org.openbandy.io.Serializable) and DatabaseSerializerImpl.load(org.openbandy.io.Serializable, int).


tearDown

public void tearDown()
              throws java.lang.Exception
After testing the store and load methods, delete the object in the database and assure that is not contained therein afterwards.

Throws:
java.lang.Exception