GATE
Version 3.1-2270

gate.config
Class TestConfig

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by gate.config.TestConfig
All Implemented Interfaces:
junit.framework.Test

public class TestConfig
extends junit.framework.TestCase

CREOLE test class


Constructor Summary
TestConfig(String name)
          Construction
 
Method Summary
 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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestConfig

public TestConfig(String name)
           throws GateException
Construction

Throws:
GateException
Method Detail

setUp

public void setUp()
           throws Exception
Fixture set up

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

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

Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testConfigReading

public void testConfigReading()
                       throws Exception
Test config loading

Throws:
Exception

testConfigUpdating

public void testConfigUpdating()
                        throws Exception
Test config updating

Throws:
Exception

testSessionStateFileNaming

public void testSessionStateFileNaming()
                                throws Exception
Test session state file naming

Throws:
Exception

testConfigFileNaming

public void testConfigFileNaming()
                          throws Exception
Test config file naming

Throws:
Exception

suite

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


GATE
Version 3.1-2270