Home | History | Annotate | Download | only in cookies

Lines Matching refs:tests

13   } tests[] = {
19 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) {
20 EXPECT_EQ(tests[i].is_host_only,
21 net::cookie_util::DomainIsHostOnly(tests[i].str));
30 } tests[] = {
102 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) {
103 parsed_time = net::cookie_util::ParseCookieTime(tests[i].str);
104 if (!tests[i].valid) {
105 EXPECT_FALSE(!parsed_time.is_null()) << tests[i].str;
108 EXPECT_TRUE(!parsed_time.is_null()) << tests[i].str;
109 EXPECT_EQ(tests[i].epoch, parsed_time.ToTimeT()) << tests[i].str;