Give cookie unit tests a far future test date.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@221 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2011-04-21 15:25:58 +00:00
parent 10d3df1efd
commit f9c9c9318c
1 changed files with 4 additions and 4 deletions

View File

@ -72,9 +72,9 @@ TEST(CookieTest, DomainCookie)
CefString(&cookie.domain).FromASCII(kTestDomain);
CefString(&cookie.path).FromASCII(kTestPath);
cookie.has_expires = true;
cookie.expires.year = 2011;
cookie.expires.year = 2200;
cookie.expires.month = 4;
cookie.expires.day_of_week = 1;
cookie.expires.day_of_week = 5;
cookie.expires.day_of_month = 11;
CookieVector cookies;
@ -129,9 +129,9 @@ TEST(CookieTest, HostCookie)
CefString(&cookie.value).FromASCII("My Value");
CefString(&cookie.path).FromASCII(kTestPath);
cookie.has_expires = true;
cookie.expires.year = 2011;
cookie.expires.year = 2200;
cookie.expires.month = 4;
cookie.expires.day_of_week = 1;
cookie.expires.day_of_week = 5;
cookie.expires.day_of_month = 11;
CookieVector cookies;