Home
last modified time | relevance | path

Searched refs:test_window_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/sync/
Dsync_setup_wizard_unittest.cc167 : test_window_(NULL), in SyncSetupWizardTest()
176 test_window_ = new TestBrowserWindowForWizardTest(browser()); in SetUp()
177 set_window(test_window_); in SetUp()
186 test_window_ = NULL; in TearDown()
191 TestBrowserWindowForWizardTest* test_window_; member in SyncSetupWizardTest
222 EXPECT_FALSE(test_window_->flow()); in TEST_F()
226 EXPECT_TRUE(test_window_->TestAndResetWasShowHTMLDialogCalled()); in TEST_F()
227 EXPECT_EQ(SyncSetupWizard::GAIA_LOGIN, test_window_->flow()->current_state_); in TEST_F()
228 EXPECT_EQ(SyncSetupWizard::DONE, test_window_->flow()->end_state_); in TEST_F()
229 EXPECT_EQ(json_start_args, test_window_->flow()->dialog_start_args_); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_sign_in_container_unittest.mm24 AutofillSignInContainerTest() : dialog_(&delegate_), test_window_(nil) {}
40 [test_window_ close];
41 test_window_ = nil;
46 if (!test_window_) {
47 test_window_ = [[CocoaTestHelperWindow alloc] init];
49 [test_window_ orderFront:nil];
51 [test_window_ orderBack:nil];
54 return test_window_;
61 CocoaTestHelperWindow* test_window_;
/external/chromium_org/chrome/browser/ui/cocoa/tab_contents/
Dsad_tab_controller_unittest.mm29 SadTabControllerTest() : test_window_(nil) {
38 test_window_ = [[CocoaTestHelperWindow alloc] init];
40 [test_window_ orderFront:nil];
42 [test_window_ orderBack:nil];
47 [test_window_ close];
48 test_window_ = nil;
59 NSView* contentView = [test_window_ contentView];
71 CocoaTestHelperWindow* test_window_;
/external/chromium/chrome/browser/ui/cocoa/tab_contents/
Dsad_tab_controller_unittest.mm29 SadTabControllerTest() : test_window_(nil) {
38 test_window_ = [[CocoaTestHelperWindow alloc] init];
40 [test_window_ orderFront:nil];
42 [test_window_ orderBack:nil];
47 [test_window_ close];
48 test_window_ = nil;
54 NSView* contentView = [test_window_ contentView];
71 CocoaTestHelperWindow* test_window_;
/external/chromium_org/ui/base/test/
Dui_cocoa_test_helper.mm53 CocoaTest::CocoaTest() : called_tear_down_(false), test_window_(nil) {
84 [test_window_ clearPretendKeyWindowAndFirstResponder];
85 [test_window_ close];
86 test_window_ = nil;
189 if (!test_window_) {
190 test_window_ = [[CocoaTestHelperWindow alloc] init];
192 [test_window_ orderFront:nil];
194 [test_window_ orderBack:nil];
197 return test_window_;
Dui_cocoa_test_helper.h99 CocoaTestHelperWindow* test_window_; variable
/external/chromium_org/ui/snapshot/
Dsnapshot_aura_unittest.cc74 test_window_.reset(); in TearDown()
82 aura::Window* test_window() { return test_window_.get(); } in test_window()
94 test_window_.reset(aura::test::CreateTestWindowWithDelegate( in SetupTestWindow()
100 gfx::Rect local_bounds(test_window_->bounds().size()); in GrabSnapshotForTestWindow()
108 scoped_ptr<aura::Window> test_window_; member in ui::SnapshotAuraTest
/external/chromium/chrome/browser/ui/cocoa/
Dcocoa_test_helper.mm52 CocoaTest::CocoaTest() : called_tear_down_(false), test_window_(nil) { function
92 [test_window_ close];
93 test_window_ = nil;
198 if (!test_window_) {
199 test_window_ = [[CocoaTestHelperWindow alloc] init];
201 [test_window_ orderFront:nil];
203 [test_window_ orderBack:nil];
206 return test_window_;
Dcocoa_test_helper.h103 CocoaTestHelperWindow* test_window_; variable