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, toString
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testContructor() throws java.io.IOException
java.io.IOException
public void testContructorError()
public void testConstructorLoop() throws java.io.IOException
java.io.IOException
public void testAccept() throws java.io.IOException
java.io.IOException
public void testAcceptLoop() throws java.io.IOException
java.io.IOException
Copyright © 2021. All Rights Reserved.