gate.creole
Class TestControllers

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

public class TestControllers
extends junit.framework.TestCase

Tests for controller classes


Constructor Summary
TestControllers(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 testSerial1()
          Serial controller test 1
 void testSerial2()
          Serial controller test 2
 
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

TestControllers

public TestControllers(String name)
Construction

Method Detail

setUp

public void setUp()
           throws GateException
Fixture set up

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

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

testSerial1

public void testSerial1()
                 throws Exception
Serial controller test 1

Throws:
Exception

testSerial2

public void testSerial2()
                 throws Exception
Serial controller test 2

Throws:
Exception

suite

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