org.tranche.annotation.test
Class TestUtil

java.lang.Object
  extended by org.tranche.annotation.test.TestUtil

public class TestUtil
extends java.lang.Object

Utility methods for JUnit tests.

Author:
James "Augie" Hill - augman85@gmail.com

Method Summary
static void setUp()
          Creates all database tables.
static void tearDown()
          Drops all tables in the database and clears all caches.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setUp

public static void setUp()
                  throws java.lang.Exception

Creates all database tables.

Throws:
java.lang.Exception

tearDown

public static void tearDown()
                     throws java.lang.Exception

Drops all tables in the database and clears all caches.

Throws:
java.lang.Exception


This code is free for use both commercially and non-commercially as stated in the project's license.