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

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

Issue 48019: Removed unneeded includes of base/time.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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
« no previous file with comments | « base/process_util_linux.cc ('k') | chrome/browser/bookmarks/bookmark_table_model.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/string_util.h" 5 #include "base/string_util.h"
6 #include "base/time.h"
7 #include "chrome/browser/bookmarks/bookmark_folder_tree_model.h" 6 #include "chrome/browser/bookmarks/bookmark_folder_tree_model.h"
8 #include "chrome/test/testing_profile.h" 7 #include "chrome/test/testing_profile.h"
9 #include "chrome/views/tree_view.h" 8 #include "chrome/views/tree_view.h"
10 #include "grit/generated_resources.h" 9 #include "grit/generated_resources.h"
11 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
12 11
13 // Base class for bookmark model tests. 12 // Base class for bookmark model tests.
14 // Initial state of the bookmark model is as follows: 13 // Initial state of the bookmark model is as follows:
15 // bb 14 // bb
16 // url1 15 // url1
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 VerifyAndClearObserverCounts(0, 0, 0, 1); 209 VerifyAndClearObserverCounts(0, 0, 0, 1);
211 210
212 // Make sure the resulting order matches. 211 // Make sure the resulting order matches.
213 FolderNode* other_folder_node = 212 FolderNode* other_folder_node =
214 model_->GetFolderNodeForBookmarkNode(bookmark_model()->other_node()); 213 model_->GetFolderNodeForBookmarkNode(bookmark_model()->other_node());
215 ASSERT_EQ(3, other_folder_node->GetChildCount()); 214 ASSERT_EQ(3, other_folder_node->GetChildCount());
216 EXPECT_TRUE(other_folder_node->GetChild(0)->GetTitle() == L"a1"); 215 EXPECT_TRUE(other_folder_node->GetChild(0)->GetTitle() == L"a1");
217 EXPECT_TRUE(other_folder_node->GetChild(1)->GetTitle() == L"f2"); 216 EXPECT_TRUE(other_folder_node->GetChild(1)->GetTitle() == L"f2");
218 EXPECT_TRUE(other_folder_node->GetChild(2)->GetTitle() == L"g1"); 217 EXPECT_TRUE(other_folder_node->GetChild(2)->GetTitle() == L"g1");
219 } 218 }
OLDNEW
« no previous file with comments | « base/process_util_linux.cc ('k') | chrome/browser/bookmarks/bookmark_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698