|
||||||||||
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.setup.RequestSide
public class RequestSide
Tests the 'RequestSide' state
Constructor Summary | |
---|---|
RequestSide()
|
Method Summary | |
---|---|
void |
setUp()
Get into the Version state |
void |
tearDown()
Tear down after a test |
void |
testComplimentaryRequests()
Normal RequestSide sequence, teams request different sides |
void |
testInvalidSideRequest()
Red asks for an invalid side. |
void |
testSideContention()
Normal RequestSide sequence, both teams request same side. |
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 RequestSide()
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 testComplimentaryRequests() throws java.io.IOException, NetworkException, ProtocolError
java.io.IOException
NetworkException
ProtocolError
public void testSideContention() throws java.io.IOException, NetworkException, ProtocolError
java.io.IOException
NetworkException
ProtocolError
public void testInvalidSideRequest() 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 |