|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
gate.config.TestConfig
CREOLE test class
Field Summary | |
private static boolean |
DEBUG
Debug flag |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
TestConfig(String name)
Construction |
Method Summary | |
private void |
readConfig(URL configUrl)
Helper method that processes a config file. |
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 |
testConfigFileNaming()
Test config file naming |
void |
testConfigReading()
Test config loading |
void |
testConfigUpdating()
Test config updating |
void |
testSessionStateFileNaming()
Test session state file naming |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, 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, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final boolean DEBUG
Constructor Detail |
public TestConfig(String name) throws GateException
Method Detail |
public void setUp() throws Exception
Exception
public void tearDown() throws Exception
Exception
private void readConfig(URL configUrl) throws Exception
Exception
public void testConfigReading() throws Exception
Exception
public void testConfigUpdating() throws Exception
Exception
public void testSessionStateFileNaming() throws Exception
Exception
public void testConfigFileNaming() throws Exception
Exception
public static junit.framework.Test suite()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |