diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-26 23:58:59 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-26 23:58:59 +0900 |
| commit | 8f2030da0983188147f321da697c331964dc1431 (patch) | |
| tree | d19158dc8e56846130141894248a5b841eb87739 /test/HttpHeaderProcessorTest.cc | |
| parent | b9f972665b9a0ec348167d42a9acd5002b35ac3c (diff) | |
Removed HttpHeader::findAs{LL}Int and unused HttpResponse::{has,get}RetryAfter
Diffstat (limited to 'test/HttpHeaderProcessorTest.cc')
| -rw-r--r-- | test/HttpHeaderProcessorTest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/HttpHeaderProcessorTest.cc b/test/HttpHeaderProcessorTest.cc index c87ba4ed..e9f7b389 100644 --- a/test/HttpHeaderProcessorTest.cc +++ b/test/HttpHeaderProcessorTest.cc @@ -140,8 +140,8 @@ void HttpHeaderProcessorTest::testGetHttpResponseHeader() CPPUNIT_ASSERT_EQUAL(404, header->getStatusCode()); CPPUNIT_ASSERT_EQUAL(std::string("Not Found"), header->getReasonPhrase()); CPPUNIT_ASSERT_EQUAL(std::string("HTTP/1.1"), header->getVersion()); - CPPUNIT_ASSERT_EQUAL((int64_t)9187LL, - header->findAsLLInt(HttpHeader::CONTENT_LENGTH)); + CPPUNIT_ASSERT_EQUAL(std::string("9187"), + header->find(HttpHeader::CONTENT_LENGTH)); CPPUNIT_ASSERT_EQUAL(std::string("text/html; charset=UTF-8"), header->find(HttpHeader::CONTENT_TYPE)); CPPUNIT_ASSERT(!header->defined(HttpHeader::CONTENT_ENCODING)); |
