| Index: chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm
|
| index 1f1c074ee6de25aa8ce04a1add5f617c30955ca3..863078d4f51b5c29f248fd76275ac72436040f30 100644
|
| --- a/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell_unittest.mm
|
| @@ -154,29 +154,4 @@ TEST_F(BookmarkButtonCellTest, Awake) {
|
| EXPECT_EQ(NSLeftTextAlignment, [cell alignment]);
|
| }
|
|
|
| -// Subfolder arrow details.
|
| -TEST_F(BookmarkButtonCellTest, FolderArrow) {
|
| - BookmarkModel* model = helper_.profile()->GetBookmarkModel();
|
| - const BookmarkNode* bar = model->bookmark_bar_node();
|
| - const BookmarkNode* node = model->AddURL(bar, bar->child_count(),
|
| - ASCIIToUTF16("title"),
|
| - GURL("http://www.google.com"));
|
| - scoped_nsobject<BookmarkButtonCell> cell(
|
| - [[BookmarkButtonCell alloc] initForNode:node
|
| - contextMenu:nil
|
| - cellText:@"small"
|
| - cellImage:nil]);
|
| - EXPECT_TRUE(cell.get());
|
| -
|
| - NSSize size = [cell cellSize];
|
| - // sanity check
|
| - EXPECT_GE(size.width, 2);
|
| - EXPECT_GE(size.height, 2);
|
| -
|
| - // Once we turn on arrow drawing make sure there is now room for it.
|
| - [cell setDrawFolderArrow:YES];
|
| - NSSize arrowSize = [cell cellSize];
|
| - EXPECT_GT(arrowSize.width, size.width);
|
| -}
|
| -
|
| } // namespace
|
|
|