|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
ctf.evaluation.TestCase
ctf.evaluation.simulator.handshaking.Start
public class Start
Tests the 'Start' state of a simulator's state machine
Constructor Summary | |
---|---|
Start()
|
Method Summary | |
---|---|
void |
setUp()
Set up for a test |
void |
tearDown()
Tear down after a test |
void |
testMisspelledStartString()
A team misspells the initialisation string. |
void |
testMisspelledTeamName()
A team misspells its name. |
void |
testNormalStart()
Normal start sequence. |
void |
testSendingFubar()
A team sends a completely invalid string. |
void |
testWrongYear()
A team uses the wrong year. |
Methods inherited from class ctf.evaluation.TestCase |
---|
assertClose, assertClose, assertClose, assertClose, assertClose, assertClose, assertClose, assertCloseAbsolute, sleep |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Start()
Method Detail |
---|
public void setUp() throws java.io.IOException, NetworkException, ProtocolError
setUp
in class TestCase
java.io.IOException
NetworkException
ProtocolError
public void tearDown()
tearDown
in class TestCase
public void testNormalStart() throws java.io.IOException, NetworkException
java.io.IOException
NetworkException
public void testSendingFubar() throws java.io.IOException, NetworkException, ProtocolError
java.io.IOException
NetworkException
ProtocolError
public void testMisspelledStartString() throws java.io.IOException, NetworkException, ProtocolError
java.io.IOException
NetworkException
ProtocolError
public void testMisspelledTeamName() throws java.io.IOException, NetworkException, ProtocolError
java.io.IOException
NetworkException
ProtocolError
public void testWrongYear() throws java.io.IOException, NetworkException, ProtocolError
java.io.IOException
NetworkException
ProtocolError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |