|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase gate.persist.TestPersist
public class TestPersist
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, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestPersist(String name) throws GateException
GateException
Method Detail |
---|
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void testSaveRestore() throws Exception
Exception
public void testSimple() throws Exception
Exception
public void testMultipleLrs() throws Exception
Exception
public void testDelete() throws Exception
Exception
public void testDSR() throws Exception
Exception
public static junit.framework.Test suite()
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |