org.apache.commons.net.telnet
Class SimpleOptionHandlerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.net.telnet.TelnetOptionHandlerTestAbstract
              extended by org.apache.commons.net.telnet.SimpleOptionHandlerTest
All Implemented Interfaces:
junit.framework.Test

public class SimpleOptionHandlerTest
extends TelnetOptionHandlerTestAbstract

JUnit test class for SimpleOptionHandler

Author:
Bruno D'Avanzo

Constructor Summary
SimpleOptionHandlerTest()
           
 
Method Summary
static void main(String[] args)
          main for running the test.
protected  void setUp()
          setUp for the test.
 void testAnswerSubnegotiation()
          test of server-driven subnegotiation.
 void testConstructors()
          test of the constructors.
 void testStartSubnegotiation()
          test of client-driven subnegotiation.
 
Methods inherited from class org.apache.commons.net.telnet.TelnetOptionHandlerTestAbstract
testDo, testWill
 
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

SimpleOptionHandlerTest

public SimpleOptionHandlerTest()
Method Detail

main

public static void main(String[] args)
main for running the test.


setUp

protected void setUp()
setUp for the test.

Specified by:
setUp in class TelnetOptionHandlerTestAbstract

testConstructors

public void testConstructors()
test of the constructors.

Overrides:
testConstructors in class TelnetOptionHandlerTestAbstract

testStartSubnegotiation

public void testStartSubnegotiation()
test of client-driven subnegotiation. Checks that no subnegotiation is made.

Specified by:
testStartSubnegotiation in class TelnetOptionHandlerTestAbstract

testAnswerSubnegotiation

public void testAnswerSubnegotiation()
test of server-driven subnegotiation. Checks that no subnegotiation is made.

Specified by:
testAnswerSubnegotiation in class TelnetOptionHandlerTestAbstract


Copyright © 1997-2010 Apache Software Foundation. All Rights Reserved.