gate.persist
Class TestPersist

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--gate.persist.TestPersist
All Implemented Interfaces:
junit.framework.Test

public class TestPersist
extends junit.framework.TestCase

Persistence test class


Constructor Summary
TestPersist(String name)
          Construction
 
Method Summary
static void main(String[] args)
           
 void setUp()
          Fixture set up
static junit.framework.Test suite()
          Test suite routine for the test runner
 void tearDown()
          Put things back as they should be after running tests (reinitialise the CREOLE register).
 void testDelete()
          Test LR deletion
 void testDSR()
          Test the DS register.
 void testMultipleLrs()
          Test multiple LRs
 void testSaveRestore()
          Test resource save and restore
 void testSimple()
          Simple test
 
Methods inherited from class junit.framework.TestCase
countTestCases, name, run, run, runBare, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestPersist

public TestPersist(String name)
            throws GateException
Construction
Method Detail

setUp

public void setUp()
           throws Exception
Fixture set up

tearDown

public void tearDown()
              throws Exception
Put things back as they should be after running tests (reinitialise the CREOLE register).

testSaveRestore

public void testSaveRestore()
                     throws Exception
Test resource save and restore

testSimple

public void testSimple()
                throws Exception
Simple test

testMultipleLrs

public void testMultipleLrs()
                     throws Exception
Test multiple LRs

testDelete

public void testDelete()
                throws Exception
Test LR deletion

testDSR

public void testDSR()
             throws Exception
Test the DS register.

suite

public static junit.framework.Test suite()
Test suite routine for the test runner

main

public static void main(String[] args)