Home
last modified time | relevance | path

Searched refs:invokeServer (Results 1 – 8 of 8) sorted by relevance

/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DHttpGetRequestTest.java49 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()
146 invokeServer("GET " + HttpServerTest.URI + "?foo=&baz=zot HTTP/1.1"); in testMultipleGetParametersWithMissingValue()
[all …]
DHttpHeadRequestTest.java56 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()
153 invokeServer("HEAD " + HttpServerTest.URI + "?foo=&baz=zot HTTP/1.1"); in testMultipleGetParametersWithMissingValue()
[all …]
DHttpDeleteRequestTest.java47 … 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()
DInvalidRequestTest.java44 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()
DHttpPostRequestTest.java92 invokeServer(input); in testPostWithMultipartFormUpload()
108 invokeServer(input); in testPostWithMultipartFormUploadFilenameHasSpaces()
127 invokeServer(input); in testPostWithMultipleMultipartFormFields()
146 invokeServer(input); in testPostWithMultipleMultipartFormFieldsWhereContentTypeWasSeparatedByComma()
164 invokeServer(input); in testSimplePostWithSingleMultipartFormField()
178 invokeServer(input); in testSimpleRawPostData()
DHttpPutRequestTest.java49 …ByteArrayOutputStream outputStream = invokeServer("PUT " + HttpServerTest.URI + " HTTP/1.1\r\n\r\n… in testPutRequestSendsContent()
DHttpChunkedResponseTest.java92 ByteArrayOutputStream byteArrayOutputStream = invokeServer("GET / HTTP/1.1"); in thatChunkedContentIsChunked()
DHttpServerTest.java153 protected ByteArrayOutputStream invokeServer(String request) { in invokeServer() method in HttpServerTest