/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpGetRequestTest.java | 31 testServer.response = new NanoHTTPD.Response(responseBody); 50 assertNotNull(testServer.parms); 51 assertNotNull(testServer.header); 52 assertNotNull(testServer.files); 53 assertNotNull(testServer.uri); 60 assertEquals(userAgent, testServer.header.get("user-agent")); 61 assertEquals(NanoHTTPD.Method.GET, testServer.method); 62 assertEquals(URI, testServer.uri); 70 assertEquals(userAgent, testServer.header.get("user-agent")); 71 assertEquals(accept, testServer.header.get("accept")) [all...] |
HttpHeadRequestTest.java | 15 testServer.response = new NanoHTTPD.Response(responseBody); 37 assertNotNull(testServer.parms); 38 assertNotNull(testServer.header); 39 assertNotNull(testServer.files); 40 assertNotNull(testServer.uri); 47 assertEquals(userAgent, testServer.header.get("user-agent")); 48 assertEquals(NanoHTTPD.Method.HEAD, testServer.method); 49 assertEquals(URI, testServer.uri); 57 assertEquals(userAgent, testServer.header.get("user-agent")); 58 assertEquals(accept, testServer.header.get("accept")) [all...] |
HttpParsingTest.java | 17 assertEquals("" + expected, testServer.decodePercent(input)); 25 assertEquals(expected, testServer.decodePercent(input)); 30 assertEquals("foo bar", testServer.decodePercent("foo+bar"));
|
HttpDeleteRequestTest.java | 15 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, ""); 33 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, (String)null); 51 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, (InputStream)null); 69 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.OK, "application/xml", "<body />"); 88 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.ACCEPTED, "application/xml", "<body />");
|
HttpPostRequestTest.java | 33 assertEquals(0, testServer.parms.size()); 34 assertEquals(1, testServer.files.size()); 35 assertEquals(VALUE_TEST_SIMPLE_RAW_DATA_WITH_AMPHASIS, testServer.files.get(POST_RAW_CONTENT_FILE_ENTRY)); 54 assertEquals(1, testServer.parms.size()); 55 assertEquals(VALUE, testServer.parms.get(FIELD)); 77 assertEquals(2, testServer.parms.size()); 78 assertEquals(VALUE, testServer.parms.get(FIELD)); 79 assertEquals(VALUE2, testServer.parms.get(FIELD2)); 101 assertEquals(2, testServer.parms.size()); 102 assertEquals(VALUE, testServer.parms.get(FIELD)) [all...] |
HttpChunkedResponseTest.java | 34 testServer.response = new NanoHTTPD.Response(OK, "what/ever", pipedInputStream); 35 testServer.response.setChunkedTransfer(true);
|
HttpPutRequestTest.java | 29 assertTrue(testServer.files.containsKey("content")); 36 reader = new BufferedReader(new FileReader(testServer.files.get("content")));
|
HttpServerTest.java | 22 protected TestServer testServer; 27 testServer = new TestServer(); 38 assertNotNull(testServer); 59 NanoHTTPD.HTTPSession session = testServer.createSession(tempFileManager, inputStream, outputStream); 97 public static class TestServer extends NanoHTTPD { 108 public TestServer() {
|
HttpSessionHeadersTest.java | 27 NanoHTTPD.HTTPSession session = testServer.createSession(TEST_TEMP_FILE_MANAGER, inputStream, outputStream, inetAddress);
|
HttpKeepAliveTest.java | 57 NanoHTTPD.HTTPSession session = testServer.createSession(new TestTempFileManager(), inputStream, outputStream);
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
IntegrationTestBase.java | 17 protected T testServer; 21 testServer = createTestServer(); 24 testServer.start(); 33 testServer.stop();
|
GetAndPostIntegrationTest.java | 32 public class GetAndPostIntegrationTest extends IntegrationTestBase<GetAndPostIntegrationTest.TestServer> { 36 testServer.response = "testSimpleGetRequest"; 47 testServer.response = "testGetRequestWithParameters"; 58 testServer.response = "testPostWithNoParameters"; 69 testServer.response = "testPostRequestWithFormEncodedParameters"; 85 testServer.response = "testPostRequestWithMultipartEncodedParameters"; 99 @Override public TestServer createTestServer() { 100 return new TestServer(); 103 public static class TestServer extends NanoHTTPD { 106 public TestServer() { [all...] |
CookieIntegrationTest.java | 35 testServer.cookiesToSend.add(new NanoHTTPD.Cookie("name", "value", 30)); 58 assertEquals(1, testServer.cookiesReceived.size()); 59 assertTrue(testServer.cookiesReceived.get(0).getHTTPHeader().contains("name=value"));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_smtpnet.py | 10 testServer = 'smtp.gmail.com' 15 with test_support.transient_internet(self.testServer): 16 server = smtplib.SMTP_SSL(self.testServer, self.remotePort) 22 with test_support.transient_internet(self.testServer): 23 server = smtplib.SMTP_SSL(self.testServer)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_smtpnet.py | 10 testServer = 'smtp.gmail.com' 15 with test_support.transient_internet(self.testServer): 16 server = smtplib.SMTP_SSL(self.testServer, self.remotePort) 22 with test_support.transient_internet(self.testServer): 23 server = smtplib.SMTP_SSL(self.testServer)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
SocketChannelTest.java | 231 ServerSocket testServer = new ServerSocket(0); 252 testServer.close(); [all...] |
/prebuilts/gradle-plugin/com/android/tools/build/gradle/0.5.7/ |
gradle-0.5.7.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle/0.7.0/ |
gradle-0.7.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle/0.7.4/ |
gradle-0.7.4.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle/0.8.0/ |
gradle-0.8.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle/0.8.1/ |
gradle-0.8.1.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle/0.8.3/ |
gradle-0.8.3.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle/0.10.0/ |
gradle-0.10.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle/0.11.2/ |
gradle-0.11.2.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle/0.12.1/ |
gradle-0.12.1.jar | |