Home | History | Annotate | Download | only in integration

Lines Matching refs:testServer

56 public class GZipIntegrationTest extends IntegrationTestBase<GZipIntegrationTest.TestServer> {
58 public static class TestServer extends NanoHTTPD {
62 public TestServer() {
78 public TestServer createTestServer() {
79 return new TestServer();
84 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
96 testServer.response = NanoHTTPD.newChunkedResponse(NanoHTTPD.Response.Status.OK, "text/plain", data);
107 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
118 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
128 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
138 testServer.response = NanoHTTPD.newChunkedResponse(NanoHTTPD.Response.Status.OK, "text/plain", data);
147 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
157 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
158 testServer.response.addHeader("Content-Length", "" + ("This is a test".getBytes("UTF-8").length));