OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <string> | 5 #include <string> |
6 #include <time.h> | |
erikwright (departed)
2012/07/17 15:59:20
no longer needed.
battre
2012/07/18 08:48:43
Done.
| |
6 | 7 |
7 #include "net/cookies/parsed_cookie.h" | 8 #include "net/cookies/parsed_cookie.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
9 | 10 |
10 namespace net { | 11 namespace net { |
11 | 12 |
12 namespace { | 13 namespace { |
13 | 14 |
14 class ParsedCookieTest : public testing::Test { }; | 15 class ParsedCookieTest : public testing::Test { }; |
15 | 16 |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
269 ParsedCookie::ParseValueString("hello\nworld")); | 270 ParsedCookie::ParseValueString("hello\nworld")); |
270 EXPECT_EQ("fs!!@", | 271 EXPECT_EQ("fs!!@", |
271 ParsedCookie::ParseValueString("fs!!@;helloworld")); | 272 ParsedCookie::ParseValueString("fs!!@;helloworld")); |
272 EXPECT_EQ("hello world\tgood", | 273 EXPECT_EQ("hello world\tgood", |
273 ParsedCookie::ParseValueString("hello world\tgood\rbye")); | 274 ParsedCookie::ParseValueString("hello world\tgood\rbye")); |
274 EXPECT_EQ("A=B=C", | 275 EXPECT_EQ("A=B=C", |
275 ParsedCookie::ParseValueString("A=B=C;D=E")); | 276 ParsedCookie::ParseValueString("A=B=C;D=E")); |
276 } | 277 } |
277 | 278 |
278 } // namespace net | 279 } // namespace net |
OLD | NEW |