| 257 | } |
| 258 | |
| 259 | void HttpResponseTest::testIsTransferEncodingSpecified() |
| 260 | { |
| 261 | HttpResponse httpResponse; |
| 262 | |
| 263 | httpResponse.setHttpHeader(make_unique<HttpHeader>()); |
| 264 | CPPUNIT_ASSERT(!httpResponse.isTransferEncodingSpecified()); |
| 265 | |
| 266 | httpResponse.getHttpHeader()->put(HttpHeader::TRANSFER_ENCODING, "chunked"); |
| 267 | CPPUNIT_ASSERT(httpResponse.isTransferEncodingSpecified()); |
| 268 | } |
| 269 | |
| 270 | void HttpResponseTest::testGetTransferEncoding() |
| 271 | { |
nothing calls this directly
no test coverage detected