Searched refs:HttpServerTest (Results 1 – 14 of 14) sorted by relevance
45 public class HttpGetRequestTest extends HttpServerTest {49 invokeServer("GET " + HttpServerTest.URI + "?foo&bar= HTTP/1.1"); in testDecodingFieldWithEmptyValueAndFieldWithMissingValueGiveDifferentResults()59 invokeServer("GET " + HttpServerTest.URI + "?foo=bar&foo=baz&zot&zim= HTTP/1.1"); in testDecodingMixtureOfParameters()73 invokeServer("GET " + HttpServerTest.URI + "?foo=bar&foo=baz&zot&zim= HTTP/1.1"); in testDecodingParametersFromParameterMap()82 invokeServer("GET " + HttpServerTest.URI + "?foo=bar&baz=zot HTTP/1.1"); in testDecodingParametersWithSingleValue()94 invokeServer("GET " + HttpServerTest.URI + "?foo&baz=zot HTTP/1.1"); in testDecodingParametersWithSingleValueAndMissingValue()105 invokeServer("GET " + HttpServerTest.URI + "?foo=bar&foo=baz HTTP/1.1"); in testDecodingSingleFieldRepeated()114 invokeServer("GET " + HttpServerTest.URI + " HTTP/1.1"); in testEmptyHeadersSuppliedToServeMethodFromSimpleWorkingGetRequest()123 … ByteArrayOutputStream outputStream = invokeServer("GET " + HttpServerTest.URI + " HTTP/1.1"); in testFullyQualifiedWorkingGetRequest()139 invokeServer("GET " + HttpServerTest.URI + "?foo=bar&baz=zot HTTP/1.1"); in testMultipleGetParameters()[all …]
45 public class HttpHeadRequestTest extends HttpServerTest {56 invokeServer("HEAD " + HttpServerTest.URI + "?foo&bar= HTTP/1.1"); in testDecodingFieldWithEmptyValueAndFieldWithMissingValueGiveDifferentResults()66 invokeServer("HEAD " + HttpServerTest.URI + "?foo=bar&foo=baz&zot&zim= HTTP/1.1"); in testDecodingMixtureOfParameters()80 invokeServer("HEAD " + HttpServerTest.URI + "?foo=bar&foo=baz&zot&zim= HTTP/1.1"); in testDecodingParametersFromParameterMap()89 invokeServer("HEAD " + HttpServerTest.URI + "?foo=bar&baz=zot HTTP/1.1"); in testDecodingParametersWithSingleValue()101 invokeServer("HEAD " + HttpServerTest.URI + "?foo&baz=zot HTTP/1.1"); in testDecodingParametersWithSingleValueAndMissingValue()112 invokeServer("HEAD " + HttpServerTest.URI + "?foo=bar&foo=baz HTTP/1.1"); in testDecodingSingleFieldRepeated()121 invokeServer("HEAD " + HttpServerTest.URI + " HTTP/1.1"); in testEmptyHeadersSuppliedToServeMethodFromSimpleWorkingGetRequest()130 … ByteArrayOutputStream outputStream = invokeServer("HEAD " + HttpServerTest.URI + " HTTP/1.1"); in testHeadRequestDoesntSendBackResponseBody()146 invokeServer("HEAD " + HttpServerTest.URI + "?foo=bar&baz=zot HTTP/1.1"); in testMultipleGetParameters()[all …]
41 public class HttpDeleteRequestTest extends HttpServerTest {47 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_EmptyString()65 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_NullInputStream()83 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_NullString()101 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatSendsBackResponseBody_Accepted()120 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatSendsBackResponseBody_Success()
40 public class InvalidRequestTest extends HttpServerTest {44 invokeServer("GET " + HttpServerTest.URI + "\r\nX-Important-Header: foo"); in testGetRequestWithoutProtocol()54 invokeServer("GET " + HttpServerTest.URI + " HTTP/1.1\r\nX-Important-Header: foo"); in testGetRequestWithProtocol()64 invokeServer("POST " + HttpServerTest.URI + "\r\nContent-Length: 123"); in testPostRequestWithoutProtocol()73 invokeServer("POST " + HttpServerTest.URI + " HTTP/1.1\r\nContent-Length: 123"); in testPostRequestWithProtocol()
46 public class HttpPostRequestTest extends HttpServerTest {74 …String header = "POST " + HttpServerTest.URI + " HTTP/1.1\nContent-Type: " + "multipart/form-data,… in preparePostWithMultipartForm()118 …String header = "POST " + HttpServerTest.URI + " HTTP/1.1\nContent-Type: " + "multipart/form-data;… in testPostWithMultipleMultipartFormFields()137 …String header = "POST " + HttpServerTest.URI + " HTTP/1.1\nContent-Type: " + "multipart/form-data,… in testPostWithMultipleMultipartFormFieldsWhereContentTypeWasSeparatedByComma()156 …String header = "POST " + HttpServerTest.URI + " HTTP/1.1\nContent-Type: " + "multipart/form-data;… in testSimplePostWithSingleMultipartFormField()172 String header = "POST " + HttpServerTest.URI + " HTTP/1.1\n"; in testSimpleRawPostData()
44 public class HttpKeepAliveTest extends HttpServerTest {50 String request = "GET " + HttpServerTest.URI + " HTTP/1.1\r\n\r\n"; in testManyGetRequests()65 …String request = "PUT " + HttpServerTest.URI + " HTTP/1.1\r\nContent-Length: " + data.length() + "… in testManyPutRequests()
45 public class HttpPutRequestTest extends HttpServerTest {49 …ByteArrayOutputStream outputStream = invokeServer("PUT " + HttpServerTest.URI + " HTTP/1.1\r\n\r\n… in testPutRequestSendsContent()
40 public class HttpParsingTest extends HttpServerTest {
45 public class HttpSessionHeadersTest extends HttpServerTest {
42 public class HttpChunkedResponseTest extends HttpServerTest {
44 import fi.iki.elonen.HttpServerTest.TestServer;
52 public class SSLServerSocketFactoryTest extends HttpServerTest {
51 public class HttpSSLServerTest extends HttpServerTest {
60 public class HttpServerTest { class