| OLD | NEW |
| (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 | |
| OLD | NEW |