Searched refs:test_api_ (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/ash/wm/
H A Dscreen_dimmer_unittest.cc26 test_api_.reset(new ScreenDimmer::TestApi(dimmer_));
32 scoped_ptr<ScreenDimmer::TestApi> test_api_; member in class:ash::test::ScreenDimmerTest
40 EXPECT_TRUE(test_api_->layer() == NULL);
42 EXPECT_TRUE(test_api_->layer() == NULL);
47 ASSERT_TRUE(test_api_->layer() != NULL);
50 EXPECT_EQ(test_api_->layer(), root_layer->children().back());
51 EXPECT_TRUE(test_api_->layer()->visible());
52 EXPECT_GT(test_api_->layer()->GetTargetOpacity(), 0.0f);
57 ASSERT_TRUE(test_api_->layer() != NULL);
58 EXPECT_TRUE(test_api_
[all...]
H A Dlock_state_controller_unittest.cc64 test_api_.reset(new LockStateController::TestApi(lock_state_controller_));
111 EXPECT_TRUE(test_api_->is_animating_lock());
125 EXPECT_TRUE(test_api_->is_animating_lock());
347 scoped_ptr<LockStateController::TestApi> test_api_; member in class:ash::test::LockStateControllerTest
367 EXPECT_FALSE(test_api_->is_lock_cancellable());
386 EXPECT_FALSE(test_api_->lock_to_shutdown_timer_is_running());
387 EXPECT_FALSE(test_api_->shutdown_timer_is_running());
401 EXPECT_TRUE(test_api_->real_shutdown_timer_is_running());
402 test_api_->trigger_real_shutdown_timeout();
414 EXPECT_TRUE(test_api_
[all...]
/external/chromium_org/chrome/browser/ui/app_list/
H A Dapp_list_service_impl_browsertest.cc43 test_api_.reset(new test::AppListServiceImplTestApi(service_));
48 scoped_ptr<test::AppListServiceImplTestApi> test_api_; member in class:AppListServiceImplBrowserTest
82 EXPECT_FALSE(test_api_->profile_loader()->IsAnyProfileLoading());
102 EXPECT_FALSE(test_api_->profile_loader()->IsAnyProfileLoading());
110 EXPECT_FALSE(test_api_->view_delegate());
112 EXPECT_TRUE(test_api_->view_delegate());
130 AppListViewDelegate* view_delegate = test_api_->view_delegate();
142 EXPECT_EQ(view_delegate, test_api_->view_delegate());
148 EXPECT_EQ(view_delegate, test_api_->view_delegate());
/external/chromium_org/ash/shelf/
H A Dshelf_view_unittest.cc310 test_api_.reset(new ShelfViewTestAPI(shelf_view_));
311 test_api_->SetAnimationDuration(1); // Speeds up animation for test.
321 test_api_.reset();
338 test_api_->RunMessageLoopUntilAnimationsDone();
350 test_api_->RunMessageLoopUntilAnimationsDone();
356 test_api_->RunMessageLoopUntilAnimationsDone();
384 test_api_->RunMessageLoopUntilAnimationsDone();
390 test_api_->RunMessageLoopUntilAnimationsDone();
395 return test_api_->GetButton(index);
419 for (int i = 0; i <= test_api_
630 scoped_ptr<ShelfViewTestAPI> test_api_; member in class:ash::test::ShelfViewTest
[all...]
/external/chromium_org/mojo/shell/
H A Dshell_test_helper.h44 scoped_ptr<ApplicationManager::TestAPI> test_api_; member in class:mojo::shell::ShellTestHelper
H A Dshell_test_helper.cc28 test_api_.reset(
/external/chromium_org/ui/app_list/views/
H A Dapps_grid_view_unittest.cc109 test_api_.reset(new AppsGridViewTestApi(apps_grid_view_.get()));
125 test_api_->GetViewAtModelIndex(index));
180 scoped_ptr<AppsGridViewTestApi> test_api_; member in class:app_list::test::AppsGridViewTest
291 test_api_->LayoutToIdealBounds();
298 test_api_->LayoutToIdealBounds();
306 test_api_->LayoutToIdealBounds();
323 test_api_->LayoutToIdealBounds();
354 test_api_->LayoutToIdealBounds();
372 test_api_->LayoutToIdealBounds();
409 test_api_
[all...]
/external/chromium_org/ui/views/controls/textfield/
H A Dtextfield_unittest.cc216 test_api_.reset(new TextfieldTestApi(textfield_));
224 model_ = test_api_->model();
236 test_api_->UpdateContextMenu();
237 return test_api_->context_menu_contents();
279 return test_api_->GetRenderText()->GetCursorBounds(
285 return test_api_->GetRenderText()->GetUpdatedCursorBounds();
290 return test_api_->GetRenderText()->GetCursorBounds(sel, true);
294 return test_api_->GetRenderText()->display_rect();
365 scoped_ptr<TextfieldTestApi> test_api_; member in class:views::TextfieldTest
1949 EXPECT_FALSE(test_api_
[all...]
/external/chromium_org/ui/display/chromeos/
H A Ddisplay_configurator_unittest.cc339 test_api_(&configurator_) {}
396 EXPECT_TRUE(test_api_.TriggerConfigureTimeout());
427 DisplayConfigurator::TestApi test_api_; member in class:ui::__anon16712::DisplayConfiguratorTest
817 EXPECT_TRUE(test_api_.TriggerConfigureTimeout());
854 EXPECT_TRUE(test_api_.TriggerConfigureTimeout());
900 EXPECT_TRUE(test_api_.TriggerConfigureTimeout());

Completed in 203 milliseconds