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 58 CursorManagerTestApi test_api(cursor_manager);
64 EXPECT_EQ(ui::kCursorCopy, test_api.GetCurrentCursor().native_type());
69 EXPECT_EQ(2.5f, test_api.GetCurrentScale());
70 EXPECT_EQ(2.0f, test_api.GetDisplay().device_scale_factor());
71 EXPECT_EQ(gfx::Display::ROTATE_90, test_api.GetDisplay().rotation());
72 EXPECT_TRUE(test_api.GetCurrentCursor().platform());
78 EXPECT_EQ(2.5f, test_api.GetCurrentScale());
80 EXPECT_EQ(1.f, test_api.GetCurrentScale());
82 EXPECT_EQ(1.5f, test_api.GetCurrentScale());
86 EXPECT_EQ(ui::kCursorCopy, test_api.GetCurrentCursor().native_type())
    [all...]
  /external/chromium_org/ash/display/
mirror_window_controller_unittest.cc 47 test::MirrorWindowTestApi test_api; local
63 EXPECT_TRUE(test_api.GetCursorWindow());
70 gfx::Point hot_point = test_api.GetCursorHotPoint();
72 test_api.GetCursorWindow()->bounds().origin();
76 EXPECT_EQ(ui::kCursorNull, test_api.GetCurrentCursorType());
77 EXPECT_TRUE(test_api.GetCursorWindow()->IsVisible());
81 hot_point = test_api.GetCursorHotPoint();
82 cursor_window_origin = test_api.GetCursorWindow()->bounds().origin();
85 EXPECT_EQ(ui::kCursorNorthResize, test_api.GetCurrentCursorType());
91 EXPECT_FALSE(test_api.GetCursorWindow()->IsVisible())
104 test::MirrorWindowTestApi test_api; local
171 test::MirrorWindowTestApi test_api; local
    [all...]
display_manager_unittest.cc 925 test::MirrorWindowTestApi test_api; member in class:ash::internal::TestDisplayObserver
937 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 400 test::MirrorWindowTestApi test_api;
405 test_api.CreateCurrentRootWindowTransformer());
411 transformer = test_api.CreateCurrentRootWindowTransformer();
display_controller_unittest.cc 704 test::CursorManagerTestApi test_api(Shell::GetInstance()->cursor_manager());
709 EXPECT_EQ(1.0f, test_api.GetDisplay().device_scale_factor());
713 EXPECT_EQ(2.0f, test_api.GetDisplay().device_scale_factor());
723 EXPECT_EQ(1.0f, test_api.GetDisplay().device_scale_factor());
727 EXPECT_EQ(2.0f, test_api.GetDisplay().device_scale_factor());
734 EXPECT_EQ(1.0f, test_api.GetDisplay().device_scale_factor());
739 EXPECT_EQ(1.0f, test_api.GetDisplay().device_scale_factor());
    [all...]
  /external/chromium_org/ui/views/corewm/
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/components/web_modal/
web_contents_modal_dialog_manager_unittest.cc 58 WebContentsModalDialogManager::TestApi test_api(
66 test_api.ResetNativeManager(native_manager);
77 test_api.CloseAllDialogs();
  /external/chromium/chrome/browser/chromeos/cros/
cros_mock.cc 55 chromeos::CrosLibrary::TestApi* CrosMock::test_api() { function in class:chromeos::CrosMock
73 test_api()->SetLibraryLoader(loader_, true);
81 test_api()->SetCryptohomeLibrary(mock_cryptohome_library_, true);
89 test_api()->SetInputMethodLibrary(mock_input_method_library_, true);
97 test_api()->SetNetworkLibrary(mock_network_library_, true);
105 test_api()->SetPowerLibrary(mock_power_library_, true);
113 test_api()->SetScreenLockLibrary(mock_screen_lock_library_, true);
122 test_api()->SetSpeechSynthesisLibrary(mock_speech_synthesis_library_, true);
130 test_api()->SetTouchpadLibrary(mock_touchpad_library_, true);
387 test_api()->SetLibraryLoader(NULL, false)
    [all...]
cros_mock.h 89 chromeos::CrosLibrary::TestApi* test_api();
  /external/chromium_org/chrome/browser/chromeos/login/
wallpaper_manager_unittest.cc 126 scoped_ptr<WallpaperManager::TestApi> test_api; local
127 test_api.reset(new WallpaperManager::TestApi(WallpaperManager::Get()));
132 EXPECT_TRUE(test_api->current_wallpaper_path().empty());
  /external/chromium_org/ui/base/animation/
slide_animation_unittest.cc 56 SlideAnimation::TestApi test_api(&animation);
71 test_api.SetStartTime(base::TimeTicks());
72 test_api.Step(base::TimeTicks() + base::TimeDelta::FromMilliseconds(50));
  /external/chromium_org/tools/
gypv8sh.py 10 python tools/gypv8sh.py v8_shell mock.js test_api.js js2webui.js \
25 "%prog v8_shell mock.js axs_testing.js test_api.js js2webui.js "
34 (v8_shell, mock_js, axs_testing_js, test_api, js2webui, test_type,
38 axs_testing_js, test_api, js2webui]
  /external/chromium/chrome/browser/chromeos/login/
cryptohome_op_unittest.cc 43 CrosLibrary::TestApi* test_api = CrosLibrary::Get()->GetTestApi(); local
52 test_api->SetLibraryLoader(loader, true);
54 test_api->SetCryptohomeLibrary(mock_library_.get(), false);
62 chromeos::CrosLibrary::TestApi* test_api = local
64 test_api->SetLibraryLoader(NULL, false);
online_attempt_unittest.cc 43 CrosLibrary::TestApi* test_api = CrosLibrary::Get()->GetTestApi(); local
52 test_api->SetLibraryLoader(loader, true);
61 chromeos::CrosLibrary::TestApi* test_api = local
63 test_api->SetLibraryLoader(NULL, false);
existing_user_controller_browsertest.cc 126 cros_mock_->test_api()->SetLoginLibrary(mock_login_library_, true);
163 cros_mock_->test_api()->SetLoginLibrary(NULL, false);
parallel_authenticator_unittest.cc 83 chromeos::CrosLibrary::TestApi* test_api = local
92 test_api->SetLibraryLoader(loader_, true);
95 test_api->SetCryptohomeLibrary(mock_library_, true);
111 chromeos::CrosLibrary::TestApi* test_api = local
113 test_api->SetLibraryLoader(NULL, false);
114 test_api->SetCryptohomeLibrary(NULL, false);
update_screen_browsertest.cc 41 cros_mock_->test_api()->SetLoginLibrary(mock_login_library_, true);
46 cros_mock_->test_api()->SetUpdateLibrary(mock_update_library_, true);
74 cros_mock_->test_api()->SetUpdateLibrary(NULL, true);
network_screen_browsertest.cc 58 cros_mock_->test_api()->SetLoginLibrary(mock_login_library_, true);
113 cros_mock_->test_api()->SetLoginLibrary(NULL, false);
google_authenticator_unittest.cc 70 chromeos::CrosLibrary::TestApi* test_api = local
79 test_api->SetLibraryLoader(loader_, true);
82 test_api->SetCryptohomeLibrary(mock_library_, true);
88 chromeos::CrosLibrary::TestApi* test_api = local
90 test_api->SetLibraryLoader(NULL, false);
91 test_api->SetCryptohomeLibrary(NULL, false);
signed_settings_unittest.cc 236 chromeos::CrosLibrary::TestApi* test_api = local
249 test_api->SetLibraryLoader(loader, true);
252 test_api->SetLoginLibrary(mock_library, true);
258 chromeos::CrosLibrary::TestApi* test_api = local
260 test_api->SetLibraryLoader(NULL, false);
261 test_api->SetLoginLibrary(NULL, false);
  /external/chromium_org/ash/launcher/
launcher_tooltip_manager_unittest.cc 233 ui::LocatedEvent::TestApi test_api(&mouse_event);
241 test_api.set_location(tooltip_rect.origin() + gfx::Vector2d(-1, -1));
  /external/chromium_org/ash/wm/panels/
panel_layout_manager_unittest.cc 219 test::LauncherViewTestAPI test_api(launcher_view);
220 test_api.SetAnimationDuration(1);
221 test_api.RunMessageLoopUntilAnimationsDone();
227 gfx::Rect bounds = test_api.GetButton(index)->GetBoundsInScreen();
233 test_api.RunMessageLoopUntilAnimationsDone();
254 test::LauncherViewTestAPI test_api(launcher_view);
255 test_api.RunMessageLoopUntilAnimationsDone();
panel_window_resizer_unittest.cc 40 test::ShellTestApi test_api(Shell::GetInstance());
41 model_ = test_api.launcher_model();
  /external/chromium_org/ash/
shell_unittest.cc 313 Shell::TestApi test_api(shell);
431 Shell::TestApi test_api(shell);
434 const ui::EventHandlerList& handlers = test_api.pre_target_handlers();

Completed in 567 milliseconds

1 2