Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: net/cookies/parsed_cookie_unittest.cc

Issue 10785017: Move CanonicalCookie into separate files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« net/cookies/parsed_cookie.h ('K') | « net/cookies/parsed_cookie.h ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698