|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.net.telnet.TelnetOptionHandlerTestAbstract
public abstract class TelnetOptionHandlerTestAbstract
The TelnetOptionHandlerTest is the abstract class for testing TelnetOptionHandler. It can be used to derive the actual test classes for TelnetOptionHadler derived classes, by adding creation of three new option handlers and testing of the specific subnegotiation behaviour.
Constructor Summary | |
---|---|
TelnetOptionHandlerTestAbstract()
|
Method Summary | |
---|---|
protected abstract void |
setUp()
setUp for the test. |
abstract void |
testAnswerSubnegotiation()
test of server-driven subnegotiation. |
void |
testConstructors()
test of the constructors. |
void |
testDo()
test of setDo/getDo |
abstract void |
testStartSubnegotiation()
test of client-driven subnegotiation. |
void |
testWill()
test of setWill/getWill |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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 |
---|
public TelnetOptionHandlerTestAbstract()
Method Detail |
---|
protected abstract void setUp()
setUp
in class junit.framework.TestCase
public void testConstructors()
public void testWill()
public void testDo()
public abstract void testStartSubnegotiation()
public abstract void testAnswerSubnegotiation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |