Search in sources :

Example 6 with BlockheadServer

use of org.eclipse.jetty.websocket.common.test.BlockheadServer in project jetty.project by eclipse.

the class EncoderTest method startServer.

@Before
public void startServer() throws Exception {
    server = new BlockheadServer();
    server.start();
}
Also used : BlockheadServer(org.eclipse.jetty.websocket.common.test.BlockheadServer) Before(org.junit.Before)

Example 7 with BlockheadServer

use of org.eclipse.jetty.websocket.common.test.BlockheadServer in project jetty.project by eclipse.

the class WebSocketClientTest method startClientServer.

@Before
public void startClientServer() throws Exception {
    client = new WebSocketClient();
    client.start();
    server = new BlockheadServer();
    server.start();
}
Also used : BlockheadServer(org.eclipse.jetty.websocket.common.test.BlockheadServer) Before(org.junit.Before)

Example 8 with BlockheadServer

use of org.eclipse.jetty.websocket.common.test.BlockheadServer in project jetty.project by eclipse.

the class DecoderReaderManySmallTest method startServer.

@Before
public void startServer() throws Exception {
    server = new BlockheadServer();
    server.start();
}
Also used : BlockheadServer(org.eclipse.jetty.websocket.common.test.BlockheadServer) Before(org.junit.Before)

Example 9 with BlockheadServer

use of org.eclipse.jetty.websocket.common.test.BlockheadServer in project jetty.project by eclipse.

the class DecoderReaderTest method startServer.

@Before
public void startServer() throws Exception {
    server = new BlockheadServer();
    server.start();
}
Also used : BlockheadServer(org.eclipse.jetty.websocket.common.test.BlockheadServer) Before(org.junit.Before)

Example 10 with BlockheadServer

use of org.eclipse.jetty.websocket.common.test.BlockheadServer in project jetty.project by eclipse.

the class BadNetworkTest method startServer.

@Before
public void startServer() throws Exception {
    server = new BlockheadServer();
    server.start();
}
Also used : BlockheadServer(org.eclipse.jetty.websocket.common.test.BlockheadServer) Before(org.junit.Before)

Aggregations

BlockheadServer (org.eclipse.jetty.websocket.common.test.BlockheadServer)12 Before (org.junit.Before)11 URI (java.net.URI)1 ByteBuffer (java.nio.ByteBuffer)1 IBlockheadServerConnection (org.eclipse.jetty.websocket.common.test.IBlockheadServerConnection)1 Test (org.junit.Test)1