HomeSort by relevance Sort by last modified time
    Searched refs:test_api (Results 1 - 25 of 28) sorted by null

1 2

  /external/chromium_org/ash/wm/
ash_native_cursor_manager_unittest.cc 64 CursorManagerTestApi test_api(cursor_manager);
70 EXPECT_EQ(ui::kCursorCopy, test_api.GetCurrentCursor().native_type());
72 EXPECT_EQ(2.0f, test_api.GetCurrentCursor().device_scale_factor());
73 EXPECT_EQ(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet());
74 EXPECT_EQ(gfx::Display::ROTATE_90, test_api.GetCurrentCursorRotation());
75 EXPECT_TRUE(test_api.GetCurrentCursor().platform());
81 EXPECT_EQ(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet());
83 EXPECT_EQ(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet());
85 EXPECT_EQ(ui::CURSOR_SET_LARGE, test_api.GetCurrentCursorSet());
87 EXPECT_EQ(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet())
    [all...]
ash_native_cursor_manager_interactive_uitest.cc 93 test::CursorManagerTestApi test_api(cursor_manager);
106 EXPECT_EQ(1.0f, test_api.GetCurrentCursor().device_scale_factor());
109 EXPECT_EQ(2.0f, test_api.GetCurrentCursor().device_scale_factor());
resize_shadow_and_cursor_unittest.cc 93 CursorManagerTestApi test_api(ash::Shell::GetInstance()->cursor_manager());
94 return test_api.GetCurrentCursor().native_type();
  /external/chromium_org/ash/display/
mirror_window_controller_unittest.cc 71 test::MirrorWindowTestApi test_api; local
87 EXPECT_TRUE(test_api.GetCursorWindow());
94 gfx::Point hot_point = test_api.GetCursorHotPoint();
96 test_api.GetCursorWindow()->bounds().origin();
100 EXPECT_EQ(ui::kCursorNull, test_api.GetCurrentCursorType());
101 EXPECT_TRUE(test_api.GetCursorWindow()->IsVisible());
105 hot_point = test_api.GetCursorHotPoint();
106 cursor_window_origin = test_api.GetCursorWindow()->bounds().origin();
109 EXPECT_EQ(ui::kCursorNorthResize, test_api.GetCurrentCursorType());
115 EXPECT_FALSE(test_api.GetCursorWindow()->IsVisible())
128 test::MirrorWindowTestApi test_api; local
195 test::MirrorWindowTestApi test_api; local
285 test::MirrorWindowTestApi test_api; local
    [all...]
display_manager_unittest.cc 1209 test::MirrorWindowTestApi test_api; member in class:ash::TestDisplayObserver
1221 test::MirrorWindowTestApi test_api; local
1289 test::MirrorWindowTestApi test_api; local
    [all...]
screen_position_controller_unittest.cc 45 ShellTestApi test_api(Shell::GetInstance());
46 return test_api.screen_position_controller();
root_window_transformers_unittest.cc 396 test::MirrorWindowTestApi test_api;
401 test_api.CreateCurrentRootWindowTransformer());
407 transformer = test_api.CreateCurrentRootWindowTransformer();
display_controller_unittest.cc     [all...]
  /external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/
wallpaper_manager_unittest.cc 81 scoped_ptr<WallpaperManager::TestApi> test_api; local
82 test_api.reset(new WallpaperManager::TestApi(WallpaperManager::Get()));
87 test_api->SetWallpaperCache(test_user_1, test_user_1_wallpaper);
88 test_api->SetWallpaperCache(test_user_2, test_user_2_wallpaper);
89 test_api->SetWallpaperCache(test_user_3, test_user_3_wallpaper);
91 test_api->ClearDisposableWallpaperCache();
94 EXPECT_TRUE(test_api->GetWallpaperFromCache(test_user_1, &cached_wallpaper));
97 EXPECT_TRUE(test_api->GetWallpaperFromCache(test_user_2, &cached_wallpaper));
101 EXPECT_FALSE(test_api->GetWallpaperFromCache(test_user_3, &cached_wallpaper));
wallpaper_manager_browsertest.cc 488 scoped_ptr<WallpaperManager::TestApi> test_api; local
489 test_api.reset(new WallpaperManager::TestApi(wallpaper_manager));
492 EXPECT_TRUE(test_api->GetWallpaperFromCache(kTestUser1, &cached_wallpaper));
512 scoped_ptr<WallpaperManager::TestApi> test_api; local
513 test_api.reset(new WallpaperManager::TestApi(wallpaper_manager));
516 EXPECT_TRUE(test_api->GetWallpaperFromCache(kTestUser1, &cached_wallpaper));
522 EXPECT_TRUE(test_api->GetWallpaperFromCache(kTestUser1, &cached_wallpaper));
532 EXPECT_TRUE(test_api->GetWallpaperFromCache(kTestUser1, &cached_wallpaper));
546 EXPECT_TRUE(test_api->GetWallpaperFromCache(kTestUser1, &cached_wallpaper));
552 EXPECT_FALSE(test_api->GetWallpaperFromCache(kTestUser1, &cached_wallpaper))
    [all...]
  /external/chromium_org/ash/shelf/
shelf_unittest.cc 77 ash::test::ShelfViewTestAPI* test_api() { function in class:ash::ShelfTest
94 int button_count = test_api()->GetButtonCount();
101 ASSERT_EQ(++button_count, test_api()->GetButtonCount());
102 ShelfButton* button = test_api()->GetButton(index);
107 ASSERT_EQ(--button_count, test_api()->GetButtonCount());
114 int button_count = test_api()->GetButtonCount();
127 ASSERT_EQ(++button_count, test_api()->GetButtonCount());
128 ShelfButton* button = test_api()->GetButton(index);
142 while (!test_api()->IsOverflowButtonVisible()) {
153 test_api()->ShowOverflowBubble()
    [all...]
shelf_tooltip_manager_unittest.cc 236 ui::LocatedEventTestApi test_api(&mouse_event);
244 test_api.set_location(tooltip_rect.origin() + gfx::Vector2d(-1, -1));
277 ui::LocatedEventTestApi test_api(&mouse_event);
278 test_api.set_location(tooltip_rect.origin() + gfx::Vector2d(-1, -1));
shelf_view_unittest.cc 302 test::ShellTestApi test_api(Shell::GetInstance());
303 model_ = test_api.shelf_model();
617 test::ShellTestApi test_api(Shell::GetInstance());
618 test_api.SetShelfDelegate(NULL);
620 test_api.SetShelfDelegate(delegate);
    [all...]
  /external/chromium_org/ui/wm/core/
image_grid_unittest.cc 44 ImageGrid::TestAPI test_api(&grid);
60 test_api.GetTransformedLayerBounds(
67 test_api.GetTransformedLayerBounds(
72 test_api.GetTransformedLayerBounds(
79 test_api.GetTransformedLayerBounds(
86 test_api.GetTransformedLayerBounds(
94 test_api.GetTransformedLayerBounds(
100 test_api.GetTransformedLayerBounds(
108 test_api.GetTransformedLayerBounds(
116 test_api.GetTransformedLayerBounds
    [all...]
  /external/chromium_org/ui/gfx/animation/
slide_animation_unittest.cc 57 SlideAnimation::TestApi test_api(&animation);
72 test_api.SetStartTime(base::TimeTicks());
73 test_api.Step(base::TimeTicks() + base::TimeDelta::FromMilliseconds(50));
  /external/chromium_org/chrome/browser/ui/app_list/
app_list_service_views_browsertest.cc 151 test::AppListViewTestApi test_api(app_list_view);
157 EXPECT_FALSE(test_api.is_overlay_visible());
167 EXPECT_TRUE(test_api.is_overlay_visible());
176 EXPECT_FALSE(test_api.is_overlay_visible());
  /external/chromium_org/tools/
gypv8sh.py 21 "%prog v8_shell mock.js test_api.js js2webui.js "
33 (v8_shell, mock_js, test_api, js2webui, test_type,
42 test_api, js2webui])
  /external/chromium_org/components/web_modal/
web_contents_modal_dialog_manager_unittest.cc 106 test_api.reset(new WebContentsModalDialogManager::TestApi(manager));
110 test_api.reset();
125 scoped_ptr<WebContentsModalDialogManager::TestApi> test_api; member in class:web_modal::WebContentsModalDialogManagerTest
229 test_api->WebContentsWasHidden();
235 test_api->WebContentsWasShown();
260 test_api->DidAttachInterstitialPage();
371 test_api->CloseAllDialogs();
  /external/chromium_org/ui/views/controls/combobox/
combobox_unittest.cc 521 test::MenuRunnerTestAPI test_api(
523 test_api.SetMenuRunnerHandler(menu_runner_handler.Pass());
542 test::MenuRunnerTestAPI test_api(
544 test_api.SetMenuRunnerHandler(menu_runner_handler.Pass());
601 scoped_ptr<test::MenuRunnerTestAPI> test_api(
603 test_api->SetMenuRunnerHandler(menu_runner_handler.Pass());
613 test_api.reset(
615 test_api->SetMenuRunnerHandler(menu_runner_handler.Pass());
  /external/chromium_org/ash/wm/panels/
panel_layout_manager_unittest.cc 216 test::ShelfViewTestAPI test_api(shelf_view);
217 test_api.SetAnimationDuration(1);
218 test_api.RunMessageLoopUntilAnimationsDone();
221 gfx::Rect bounds = test_api.GetButton(index)->GetBoundsInScreen();
227 test_api.RunMessageLoopUntilAnimationsDone();
247 test::ShelfViewTestAPI test_api(shelf_view);
248 test_api.RunMessageLoopUntilAnimationsDone();
    [all...]
panel_window_resizer_unittest.cc 43 test::ShellTestApi test_api(Shell::GetInstance());
44 model_ = test_api.shelf_model();
  /external/chromium_org/ash/
shell_unittest.cc 494 ui::EventTargetTestApi test_api(shell);
497 const ui::EventHandlerList& handlers = test_api.pre_target_handlers();
  /external/chromium_org/ui/app_list/views/
app_list_view_unittest.cc 304 AppsGridViewTestApi test_api(container_view->apps_grid_view());
305 test_api.PressItemAt(0);
  /external/chromium_org/chrome/browser/chromeos/display/
display_preferences_unittest.cc 224 ash::test::DisplayManagerTestApi test_api(display_manager);
226 test_api.SetAvailableColorProfiles(id1, profiles);
542 ash::test::DisplayManagerTestApi test_api(display_manager);
543 test_api.SetAvailableColorProfiles(id1, profiles);
    [all...]
  /external/chromium_org/chrome/browser/apps/
app_browsertest.cc     [all...]

Completed in 5042 milliseconds

1 2