public class TcpServerTest extends Object
| Constructor and Description |
|---|
TcpServerTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createHttpServer() |
static void |
stopHttpServer() |
void |
testKill() |
void |
testProxy() |
void |
testProxySimple() |
void |
testRejectingServer() |
void |
testRestart() |
void |
testTimeout() |
public static void createHttpServer()
throws IOException
IOExceptionpublic static void stopHttpServer()
public void testProxy()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testProxySimple()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testTimeout()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testRestart()
throws IOException,
InterruptedException,
TimeoutException
public void testRejectingServer()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testKill()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2021 SPF4J. All rights reserved.