Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/ui/cocoa/translate/translate_bubble_controller.h" | |
| 6 | |
| 7 #import "chrome/browser/ui/browser.h" | |
| 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | |
| 9 #import "chrome/browser/ui/cocoa/cocoa_profile_test.h" | |
| 10 #include "chrome/common/url_constants.h" | |
| 11 | |
| 12 @interface TranslateBubbleController (ForTests) | |
| 13 | |
| 14 - (id)initWithBrowserWindowController:(BrowserWindowController*)controller | |
| 15 model:(scoped_ptr<TranslateBubbleModel>)model | |
| 16 webContents:(content::WebContents*)webContents; | |
| 17 | |
| 18 @end | |
| 19 | |
| 20 class TranslateBubbleControllerTest : public CocoaProfileTest { | |
| 21 public: | |
| 22 virtual void SetUp() OVERRIDE { | |
| 23 CocoaProfileTest::SetUp(); | |
| 24 } | |
| 25 | |
| 26 virtual void TearDown() OVERRIDE { | |
| 27 CocoaProfileTest::TearDown(); | |
| 28 } | |
| 29 }; | |
| 30 | |
| 31 TEST_F(TranslateBubbleControllerTest, Show) { | |
|
groby-ooo-7-16
2014/02/11 00:43:55
Please do add this test. See e.g. new_credit_card_
hajimehoshi
2014/02/25 09:31:07
Done.
| |
| 32 // fixme: Implement the test to show the bubble and check the state. | |
| 33 } | |
| OLD | NEW |