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

Unified Diff: chrome/browser/cocoa/bookmark_bar_controller_unittest.mm

Issue 402066: Moved a whole pile of unittests over to CocoaTest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/cocoa/bookmark_bar_controller_unittest.mm
===================================================================
--- chrome/browser/cocoa/bookmark_bar_controller_unittest.mm (revision 32421)
+++ chrome/browser/cocoa/bookmark_bar_controller_unittest.mm (working copy)
@@ -84,7 +84,7 @@
static const int kContentAreaHeight = 500;
static const int kInfoBarViewHeight = 30;
-class BookmarkBarControllerTest : public PlatformTest {
+class BookmarkBarControllerTest : public CocoaTest {
public:
BookmarkBarControllerTest() {
resizeDelegate_.reset([[ViewResizerPong alloc] init]);
@@ -146,9 +146,8 @@
return menu_item_;
}
- CocoaTestHelper cocoa_helper_; // Inits Cocoa, creates window, etc...
- scoped_nsobject<NSView> parent_view_;
BrowserTestHelper helper_;
+ scoped_nsobject<NSView> parent_view_;
scoped_nsobject<ViewResizerPong> resizeDelegate_;
scoped_nsobject<BookmarkBarControllerNoOpen> bar_;
scoped_nsobject<BookmarkMenu> menu_;

Powered by Google App Engine
This is Rietveld 408576698