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:
parent
10d3df1efd
commit
f9c9c9318c
|
@ -72,9 +72,9 @@ TEST(CookieTest, DomainCookie)
|
||||||
CefString(&cookie.domain).FromASCII(kTestDomain);
|
CefString(&cookie.domain).FromASCII(kTestDomain);
|
||||||
CefString(&cookie.path).FromASCII(kTestPath);
|
CefString(&cookie.path).FromASCII(kTestPath);
|
||||||
cookie.has_expires = true;
|
cookie.has_expires = true;
|
||||||
cookie.expires.year = 2011;
|
cookie.expires.year = 2200;
|
||||||
cookie.expires.month = 4;
|
cookie.expires.month = 4;
|
||||||
cookie.expires.day_of_week = 1;
|
cookie.expires.day_of_week = 5;
|
||||||
cookie.expires.day_of_month = 11;
|
cookie.expires.day_of_month = 11;
|
||||||
|
|
||||||
CookieVector cookies;
|
CookieVector cookies;
|
||||||
|
@ -129,9 +129,9 @@ TEST(CookieTest, HostCookie)
|
||||||
CefString(&cookie.value).FromASCII("My Value");
|
CefString(&cookie.value).FromASCII("My Value");
|
||||||
CefString(&cookie.path).FromASCII(kTestPath);
|
CefString(&cookie.path).FromASCII(kTestPath);
|
||||||
cookie.has_expires = true;
|
cookie.has_expires = true;
|
||||||
cookie.expires.year = 2011;
|
cookie.expires.year = 2200;
|
||||||
cookie.expires.month = 4;
|
cookie.expires.month = 4;
|
||||||
cookie.expires.day_of_week = 1;
|
cookie.expires.day_of_week = 5;
|
||||||
cookie.expires.day_of_month = 11;
|
cookie.expires.day_of_month = 11;
|
||||||
|
|
||||||
CookieVector cookies;
|
CookieVector cookies;
|
||||||
|
|
Loading…
Reference in New Issue