summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/first_run_bubble_controller_unittest.mm
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-09 01:23:38 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-09 01:23:38 +0000
commitd4d4a07cba941300ea6b5f5ed5a5d7ce413c3267 (patch)
tree01cd085b948a443eabc4d6060c6f7690efdfcfc4 /chrome/browser/ui/cocoa/first_run_bubble_controller_unittest.mm
parent959130f594bec089c476ebe641da55f6ca55af8c (diff)
downloadchromium_src-d4d4a07cba941300ea6b5f5ed5a5d7ce413c3267.zip
chromium_src-d4d4a07cba941300ea6b5f5ed5a5d7ce413c3267.tar.gz
chromium_src-d4d4a07cba941300ea6b5f5ed5a5d7ce413c3267.tar.bz2
Switch BrowserTestHelper to use TestingProfileManager and update all corresponding tests.
BUG=none TEST=unit_tests Review URL: http://codereview.chromium.org/7825005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100313 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/cocoa/first_run_bubble_controller_unittest.mm')
-rw-r--r--chrome/browser/ui/cocoa/first_run_bubble_controller_unittest.mm9
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/browser/ui/cocoa/first_run_bubble_controller_unittest.mm b/chrome/browser/ui/cocoa/first_run_bubble_controller_unittest.mm
index c0a72ad..601039c 100644
--- a/chrome/browser/ui/cocoa/first_run_bubble_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/first_run_bubble_controller_unittest.mm
@@ -8,15 +8,12 @@
#include "base/debug/debugger.h"
#include "base/memory/scoped_nsobject.h"
-#include "chrome/browser/ui/cocoa/browser_test_helper.h"
-#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
+#include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
-class FirstRunBubbleControllerTest : public CocoaTest {
- public:
- BrowserTestHelper helper_;
+class FirstRunBubbleControllerTest : public CocoaProfileTest {
};
// Check that the bubble doesn't crash or leak.
@@ -35,7 +32,7 @@ TEST_F(FirstRunBubbleControllerTest, Init) {
FirstRunBubbleController* controller = [FirstRunBubbleController
showForView:[parent.get() contentView]
offset:NSMakePoint(300, 300)
- profile:helper_.profile()];
+ profile:profile()];
EXPECT_TRUE(controller != nil);
EXPECT_TRUE([[controller window] isVisible]);
[parent.get() close];