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

Unified Diff: chrome/browser/cocoa/bookmark_name_folder_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_name_folder_controller_unittest.mm
===================================================================
--- chrome/browser/cocoa/bookmark_name_folder_controller_unittest.mm (revision 32421)
+++ chrome/browser/cocoa/bookmark_name_folder_controller_unittest.mm (working copy)
@@ -11,9 +11,8 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
-class BookmarkNameFolderControllerTest : public PlatformTest {
+class BookmarkNameFolderControllerTest : public CocoaTest {
public:
- CocoaTestHelper cocoa_helper_; // Inits Cocoa, creates window, etc...
BrowserTestHelper helper_;
};
@@ -26,7 +25,7 @@
scoped_nsobject<BookmarkNameFolderController>
controller([[BookmarkNameFolderController alloc]
- initWithParentWindow:cocoa_helper_.window()
+ initWithParentWindow:test_window()
profile:helper_.profile()
node:node]);
[controller window]; // force nib load
@@ -56,7 +55,7 @@
scoped_nsobject<BookmarkNameFolderController>
controller([[BookmarkNameFolderController alloc]
- initWithParentWindow:cocoa_helper_.window()
+ initWithParentWindow:test_window()
profile:helper_.profile()
node:NULL]);
[controller window]; // force nib load
@@ -79,7 +78,7 @@
// the node.
scoped_nsobject<BookmarkNameFolderController>
controller([[BookmarkNameFolderController alloc]
- initWithParentWindow:cocoa_helper_.window()
+ initWithParentWindow:test_window()
profile:helper_.profile()
node:folder]);
[controller window]; // force nib load
@@ -100,7 +99,7 @@
scoped_nsobject<BookmarkNameFolderController>
controller([[BookmarkNameFolderController alloc]
- initWithParentWindow:cocoa_helper_.window()
+ initWithParentWindow:test_window()
profile:helper_.profile()
node:node]);
[controller window]; // force nib load
« no previous file with comments | « chrome/browser/cocoa/bookmark_button_cell_unittest.mm ('k') | chrome/browser/cocoa/browser_window_cocoa_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698