| 291 | } |
| 292 | |
| 293 | void HttpResponseTest::testIsContentEncodingSpecified() |
| 294 | { |
| 295 | HttpResponse httpResponse; |
| 296 | |
| 297 | httpResponse.setHttpHeader(make_unique<HttpHeader>()); |
| 298 | CPPUNIT_ASSERT(!httpResponse.isContentEncodingSpecified()); |
| 299 | |
| 300 | httpResponse.getHttpHeader()->put(HttpHeader::CONTENT_ENCODING, "gzip"); |
| 301 | CPPUNIT_ASSERT(httpResponse.isContentEncodingSpecified()); |
| 302 | } |
| 303 | |
| 304 | void HttpResponseTest::testGetContentEncoding() |
| 305 | { |
nothing calls this directly
no test coverage detected