|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--org.szegedi.nioserver.TestNioServer
The JUnit test suite for testing NioServer functionality.
| 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 |
public TestNioServer(java.lang.String name)
| Method Detail |
public void setUp()
throws java.io.IOException
setUp in class junit.framework.TestCasejava.io.IOExceptionpublic void testSetUp()
public void testClosingSingleChannel()
throws java.io.IOException
java.io.IOException
public void testClosingTwoChannels()
throws java.io.IOException
java.io.IOException
public void testClosing()
throws java.io.IOException
java.io.IOException
public void testSingleByteEcho()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||