blob: 55c2412d41fd0e9f130cf43e0dd85c8093aa7278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/scoped_nsobject.h"
#import "chrome/browser/cocoa/bookmark_bar_folder_button_cell.h"
#import "chrome/browser/cocoa/cocoa_test_helper.h"
namespace {
class BookmarkBarFolderButtonCellTest : public CocoaTest {
};
// Basic creation.
TEST_F(BookmarkBarFolderButtonCellTest, Create) {
scoped_nsobject<BookmarkBarFolderButtonCell> cell;
cell.reset([[BookmarkBarFolderButtonCell buttonCellForNode:nil
contextMenu:nil
cellText:nil
cellImage:nil] retain]);
EXPECT_TRUE(cell);
}
} // namespace
|