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

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc

Issue 169013002: bookmarks: Rename bookmark_context_menu_test.cc to bookmark_context_menu_unittest.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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) 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 "chrome/browser/ui/views/bookmarks/bookmark_context_menu.h" 5 #include "chrome/browser/ui/views/bookmarks/bookmark_context_menu.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 ASSERT_EQ(bb_node->GetChild(0)->url(), bb_node->GetChild(1)->url()); 322 ASSERT_EQ(bb_node->GetChild(0)->url(), bb_node->GetChild(1)->url());
323 323
324 controller.reset(new BookmarkContextMenu( 324 controller.reset(new BookmarkContextMenu(
325 NULL, NULL, profile_.get(), NULL, nodes[0]->parent(), nodes, false)); 325 NULL, NULL, profile_.get(), NULL, nodes[0]->parent(), nodes, false));
326 // Cut the URL. 326 // Cut the URL.
327 controller->ExecuteCommand(IDC_CUT, 0); 327 controller->ExecuteCommand(IDC_CUT, 0);
328 ASSERT_TRUE(bb_node->GetChild(0)->is_url()); 328 ASSERT_TRUE(bb_node->GetChild(0)->is_url());
329 ASSERT_TRUE(bb_node->GetChild(1)->is_folder()); 329 ASSERT_TRUE(bb_node->GetChild(1)->is_folder());
330 ASSERT_EQ(old_count, bb_node->child_count()); 330 ASSERT_EQ(old_count, bb_node->child_count());
331 } 331 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698