org.apache.commons.net.telnet
Class WindowSizeOptionHandlerTest

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.WindowSizeOptionHandlerTest
All Implemented Interfaces:
junit.framework.Test

public class WindowSizeOptionHandlerTest
extends TelnetOptionHandlerTestAbstract

JUnit test class for TerminalTypeOptionHandler

Author:
Bruno D'Avanzo

Constructor Summary
WindowSizeOptionHandlerTest()
           
 
Method Summary
protected  void setUp()
          setUp for the test.
 void testAnswerSubnegotiation()
          test of client-driven subnegotiation.
 void testConstructors()
          test of the constructors.
 void testStartSubnegotiation()
          test of client-driven subnegotiation.
 void testStartSubnegotiationLocal()
          test of client-driven subnegotiation.
 
Methods inherited from class org.apache.commons.net.telnet.TelnetOptionHandlerTestAbstract
testDo, testWill
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WindowSizeOptionHandlerTest

public WindowSizeOptionHandlerTest()
Method Detail

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

testStartSubnegotiationLocal

public void testStartSubnegotiationLocal()
test of client-driven subnegotiation.


testAnswerSubnegotiation

public void testAnswerSubnegotiation()
test of client-driven subnegotiation. Checks that nothing is sent

Specified by:
testAnswerSubnegotiation in class TelnetOptionHandlerTestAbstract


Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.