org.szegedi.nioserver
Class TestNioServer

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.szegedi.nioserver.TestNioServer
All Implemented Interfaces:
junit.framework.Test

public class TestNioServer
extends junit.framework.TestCase

The JUnit test suite for testing NioServer functionality.

Version:
$Id: TestNioServer.java,v 1.4 2002/02/11 08:56:07 szegedia Exp $
Author:
Attila Szegedi, szegedia at freemail dot hu

Constructor Summary
TestNioServer(java.lang.String name)
           
 
Method Summary
 void setUp()
           
 void testClosing()
           
 void testClosingSingleChannel()
           
 void testClosingTwoChannels()
           
 void testSetUp()
           
 void testSingleByteEcho()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestNioServer

public TestNioServer(java.lang.String name)
Method Detail

setUp

public void setUp()
           throws java.io.IOException
Overrides:
setUp in class junit.framework.TestCase
java.io.IOException

testSetUp

public void testSetUp()

testClosingSingleChannel

public void testClosingSingleChannel()
                              throws java.io.IOException
java.io.IOException

testClosingTwoChannels

public void testClosingTwoChannels()
                            throws java.io.IOException
java.io.IOException

testClosing

public void testClosing()
                 throws java.io.IOException
java.io.IOException

testSingleByteEcho

public void testSingleByteEcho()
                        throws java.io.IOException
java.io.IOException