public class UnixServerSocketTests
extends junit.framework.TestCase
| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.String | 
path  | 
| Constructor and Description | 
|---|
UnixServerSocketTests()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
setUp()  | 
protected void | 
tearDown()  | 
void | 
testAccept()
Will open a socket, wait for connections, then try to close it 5sec
 later. 
 | 
void | 
testAcceptLoop()  | 
void | 
testConstructorLoop()  | 
void | 
testContructor()  | 
void | 
testContructorError()  | 
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, toStringprotected void setUp()
              throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionprotected void tearDown()
                 throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void testContructor()
                    throws java.io.IOException
java.io.IOExceptionpublic void testContructorError()
public void testConstructorLoop()
                         throws java.io.IOException
java.io.IOExceptionpublic void testAccept()
                throws java.io.IOException
java.io.IOExceptionpublic void testAcceptLoop()
                    throws java.io.IOException
java.io.IOExceptionCopyright © 2021. All Rights Reserved.