summaryrefslogtreecommitdiff
path: root/test/HttpHeaderTest.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-07 22:57:34 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-09 21:39:43 +0900
commit12988e5282ef52a2806cbaca9f4074698f35e399 (patch)
tree7a8d5a65a8e8478ba5855e84a1077baee1a2028d /test/HttpHeaderTest.cc
parentf25e67b0178511b26d55642f215a095321a169a8 (diff)
Replaced uint64_t with off_t or int64_t.
Since off_t is int64_t with LFS, we cannot take advantage of extra capacity of uint64_t.
Diffstat (limited to 'test/HttpHeaderTest.cc')
-rw-r--r--test/HttpHeaderTest.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/HttpHeaderTest.cc b/test/HttpHeaderTest.cc
index fc31cf04..690f3818 100644
--- a/test/HttpHeaderTest.cc
+++ b/test/HttpHeaderTest.cc
@@ -37,7 +37,7 @@ void HttpHeaderTest::testGetRange()
CPPUNIT_ASSERT_EQUAL((off_t)9223372036854775800LL, range->getStartByte());
CPPUNIT_ASSERT_EQUAL((off_t)9223372036854775801LL, range->getEndByte());
- CPPUNIT_ASSERT_EQUAL((uint64_t)9223372036854775807ULL, range->getEntityLength());
+ CPPUNIT_ASSERT_EQUAL((off_t)9223372036854775807LL, range->getEntityLength());
}
{
HttpHeader httpHeader;
@@ -48,7 +48,7 @@ void HttpHeaderTest::testGetRange()
CPPUNIT_ASSERT_EQUAL((off_t)9223372036854775800LL, range->getStartByte());
CPPUNIT_ASSERT_EQUAL((off_t)9223372036854775801LL, range->getEndByte());
- CPPUNIT_ASSERT_EQUAL((uint64_t)9223372036854775807ULL, range->getEntityLength());
+ CPPUNIT_ASSERT_EQUAL((off_t)9223372036854775807LL, range->getEntityLength());
}
{
HttpHeader httpHeader;
@@ -58,7 +58,7 @@ void HttpHeaderTest::testGetRange()
CPPUNIT_ASSERT_EQUAL((off_t)0, range->getStartByte());
CPPUNIT_ASSERT_EQUAL((off_t)0, range->getEndByte());
- CPPUNIT_ASSERT_EQUAL((uint64_t)0, range->getEntityLength());
+ CPPUNIT_ASSERT_EQUAL((off_t)0, range->getEntityLength());
}
{
HttpHeader httpHeader;
@@ -68,7 +68,7 @@ void HttpHeaderTest::testGetRange()
CPPUNIT_ASSERT_EQUAL((off_t)0, range->getStartByte());
CPPUNIT_ASSERT_EQUAL((off_t)0, range->getEndByte());
- CPPUNIT_ASSERT_EQUAL((uint64_t)0, range->getEntityLength());
+ CPPUNIT_ASSERT_EQUAL((off_t)0, range->getEntityLength());
}
{
HttpHeader httpHeader;
@@ -78,7 +78,7 @@ void HttpHeaderTest::testGetRange()
CPPUNIT_ASSERT_EQUAL((off_t)0, range->getStartByte());
CPPUNIT_ASSERT_EQUAL((off_t)0, range->getEndByte());
- CPPUNIT_ASSERT_EQUAL((uint64_t)0, range->getEntityLength());
+ CPPUNIT_ASSERT_EQUAL((off_t)0, range->getEntityLength());
}
{
HttpHeader httpHeader;
@@ -88,7 +88,7 @@ void HttpHeaderTest::testGetRange()
CPPUNIT_ASSERT_EQUAL((off_t)0, range->getStartByte());
CPPUNIT_ASSERT_EQUAL((off_t)0, range->getEndByte());
- CPPUNIT_ASSERT_EQUAL((uint64_t)0, range->getEntityLength());
+ CPPUNIT_ASSERT_EQUAL((off_t)0, range->getEntityLength());
}
{
HttpHeader httpHeader;
@@ -98,7 +98,7 @@ void HttpHeaderTest::testGetRange()
CPPUNIT_ASSERT_EQUAL((off_t)0, range->getStartByte());
CPPUNIT_ASSERT_EQUAL((off_t)0, range->getEndByte());
- CPPUNIT_ASSERT_EQUAL((uint64_t)0, range->getEntityLength());
+ CPPUNIT_ASSERT_EQUAL((off_t)0, range->getEntityLength());
}
{
HttpHeader httpHeader;