summaryrefslogtreecommitdiff
path: root/test/a2functionalTest.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-10-09 14:22:49 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-10-09 14:22:49 +0000
commit8b17d4b276222b203722eea9ded9cd3797a4b656 (patch)
treefd20f43edf2e3891707cbff18bd1f7160cf627d2 /test/a2functionalTest.cc
parent9b1280f7a3c0d0223ad8bbc20e108b776d9c53af (diff)
2010-10-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten Cookie class and Cookie parser based on http://tools.ietf.org/html/draft-ietf-httpstate-cookie-14 with some modifications. When parsing cookie date, match time first so that it parses asctime() format. The request-path must be ends with '/' so that request-path '/foo/' path-matches cookie-path '/foo' and '/foo/' in the proposed algorithm. * src/Cookie.cc * src/Cookie.h * src/CookieParser.cc: Removed * src/CookieParser.h: Removed * src/CookieStorage.cc * src/CookieStorage.h * src/HttpResponse.cc * src/Makefile.am * src/Makefile.in * src/MultiUrlRequestInfo.cc * src/NsCookieParser.cc * src/NsCookieParser.h * src/Sqlite3CookieParser.cc * src/Sqlite3CookieParser.h * src/a2functional.h * src/cookie_helper.cc * src/cookie_helper.h * src/util.cc * src/util.h * test/CookieBoxFactoryTest.cc: Removed * test/CookieHelperTest.cc * test/CookieParserTest.cc: Removed * test/CookieStorageTest.cc * test/CookieTest.cc * test/HttpRequestTest.cc * test/Makefile.am * test/Makefile.in * test/NsCookieParserTest.cc * test/Sqlite3CookieParserTest.cc * test/TestUtil.cc * test/TestUtil.h * test/a2functionalTest.cc * test/chromium_cookies.sqlite * test/cookies.sqlite * test/nscookietest.txt
Diffstat (limited to 'test/a2functionalTest.cc')
-rw-r--r--test/a2functionalTest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/a2functionalTest.cc b/test/a2functionalTest.cc
index 518b9e22..0e9a816e 100644
--- a/test/a2functionalTest.cc
+++ b/test/a2functionalTest.cc
@@ -55,7 +55,7 @@ public:
time_t lastAccess_;
LastAccess(time_t lastAccess):lastAccess_(lastAccess) {}
- time_t getLastAccess() const
+ time_t getLastAccessTime() const
{
return lastAccess_;
}