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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell_unittest.mm

Issue 8141003: [Mac] Restore the old bookmark menus now that the experiment is over. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/memory/scoped_nsobject.h"
6 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell.h"
7 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
8
9 namespace {
10
11 class BookmarkBarFolderButtonCellTest : public CocoaTest {
12 };
13
14 // Basic creation.
15 TEST_F(BookmarkBarFolderButtonCellTest, Create) {
16 scoped_nsobject<BookmarkBarFolderButtonCell> cell;
17 cell.reset([[BookmarkBarFolderButtonCell buttonCellForNode:nil
18 contextMenu:nil
19 cellText:nil
20 cellImage:nil] retain]);
21 EXPECT_TRUE(cell);
22 }
23
24 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698