|
||||||||||
| 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.creole.TestControllers
public class TestControllers
Tests for controller classes
| Field Summary | |
|---|---|
private static boolean |
DEBUG
Debug flag |
(package private) CreoleRegister |
reg
The CREOLE register |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final boolean DEBUG
CreoleRegister reg
| Constructor Detail |
|---|
public TestControllers(String name)
| Method Detail |
|---|
public void setUp()
throws GateException
setUp in class junit.framework.TestCaseGateException
public void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseException
public void testSerial1()
throws Exception
Exception
public void testSerial2()
throws Exception
Exceptionpublic static junit.framework.Test suite()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||