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

Side by Side Diff: chrome/browser/bookmarks/bookmark_codec_unittest.cc

Issue 9465030: Break two classes defined in json_value_serializer.cc, .h into separate files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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) 2011 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 "base/file_path.h" 5 #include "base/file_path.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/json/json_value_serializer.h" 7 #include "base/json/json_file_value_serializer.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/bookmarks/bookmark_codec.h" 13 #include "chrome/browser/bookmarks/bookmark_codec.h"
14 #include "chrome/browser/bookmarks/bookmark_model.h" 14 #include "chrome/browser/bookmarks/bookmark_model.h"
15 #include "chrome/browser/bookmarks/bookmark_model_test_utils.h" 15 #include "chrome/browser/bookmarks/bookmark_model_test_utils.h"
16 #include "chrome/browser/bookmarks/bookmark_utils.h" 16 #include "chrome/browser/bookmarks/bookmark_utils.h"
17 #include "chrome/common/chrome_paths.h" 17 #include "chrome/common/chrome_paths.h"
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 EXPECT_EQ(BookmarkNode::FOLDER, child->type()); 329 EXPECT_EQ(BookmarkNode::FOLDER, child->type());
330 EXPECT_EQ(ASCIIToUTF16("Folder B"), child->GetTitle()); 330 EXPECT_EQ(ASCIIToUTF16("Folder B"), child->GetTitle());
331 ASSERT_EQ(1, child->child_count()); 331 ASSERT_EQ(1, child->child_count());
332 332
333 child = child->GetChild(0); 333 child = child->GetChild(0);
334 EXPECT_EQ(BookmarkNode::URL, child->type()); 334 EXPECT_EQ(BookmarkNode::URL, child->type());
335 EXPECT_EQ(ASCIIToUTF16("Get started with Google Chrome"), child->GetTitle()); 335 EXPECT_EQ(ASCIIToUTF16("Get started with Google Chrome"), child->GetTitle());
336 336
337 ASSERT_TRUE(decoded_model.mobile_node() != NULL); 337 ASSERT_TRUE(decoded_model.mobile_node() != NULL);
338 } 338 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/bookmarks/bookmark_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698