|
||||||||||
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.Version
public class Version
Tests the 'Version' state
Constructor Summary | |
---|---|
Version()
|
Method Summary | |
---|---|
void |
setUp()
Get into the Version state |
void |
tearDown()
Tear down after a test |
void |
testGarbageString()
A controller sends a garbage string |
void |
testNormalVersion()
Normal Version sequence |
void |
testStartCommandInVersionState()
A controller sends a Start command in the Version state |
void |
testWrongSTEALVersion()
A controller requests an unsupported STEAL version |
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 Version()
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 testNormalVersion() throws java.io.IOException, NetworkException, ProtocolError
java.io.IOException
NetworkException
ProtocolError
public void testGarbageString() throws java.io.IOException, NetworkException, ProtocolError
java.io.IOException
NetworkException
ProtocolError
public void testWrongSTEALVersion() throws java.io.IOException, NetworkException, ProtocolError
java.io.IOException
NetworkException
ProtocolError
public void testStartCommandInVersionState() 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 |