/external/chromium_org/ash/wm/ |
D | ash_native_cursor_manager_unittest.cc | 58 CursorManagerTestApi test_api(cursor_manager); in TEST_F() local 64 EXPECT_EQ(ui::kCursorCopy, test_api.GetCurrentCursor().native_type()); in TEST_F() 69 EXPECT_EQ(2.5f, test_api.GetCurrentScale()); in TEST_F() 70 EXPECT_EQ(2.0f, test_api.GetDisplay().device_scale_factor()); in TEST_F() 71 EXPECT_EQ(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet()); in TEST_F() 72 EXPECT_EQ(gfx::Display::ROTATE_90, test_api.GetDisplay().rotation()); in TEST_F() 73 EXPECT_TRUE(test_api.GetCurrentCursor().platform()); in TEST_F() 79 EXPECT_EQ(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet()); in TEST_F() 81 EXPECT_EQ(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet()); in TEST_F() 83 EXPECT_EQ(ui::CURSOR_SET_LARGE, test_api.GetCurrentCursorSet()); in TEST_F() [all …]
|
D | ash_native_cursor_manager_interactive_uitest.cc | 70 test::CursorManagerTestApi test_api(cursor_manager); in TEST_F() local 84 EXPECT_EQ(1.0f, test_api.GetDisplay().device_scale_factor()); in TEST_F() 87 EXPECT_EQ(2.0f, test_api.GetDisplay().device_scale_factor()); in TEST_F()
|
/external/chromium_org/ash/display/ |
D | mirror_window_controller_unittest.cc | 72 test::MirrorWindowTestApi test_api; in TEST_F() local 88 EXPECT_TRUE(test_api.GetCursorWindow()); in TEST_F() 95 gfx::Point hot_point = test_api.GetCursorHotPoint(); in TEST_F() 97 test_api.GetCursorWindow()->bounds().origin(); in TEST_F() 101 EXPECT_EQ(ui::kCursorNull, test_api.GetCurrentCursorType()); in TEST_F() 102 EXPECT_TRUE(test_api.GetCursorWindow()->IsVisible()); in TEST_F() 106 hot_point = test_api.GetCursorHotPoint(); in TEST_F() 107 cursor_window_origin = test_api.GetCursorWindow()->bounds().origin(); in TEST_F() 110 EXPECT_EQ(ui::kCursorNorthResize, test_api.GetCurrentCursorType()); in TEST_F() 116 EXPECT_FALSE(test_api.GetCursorWindow()->IsVisible()); in TEST_F() [all …]
|
D | display_manager_unittest.cc | 953 EXPECT_FALSE(test_api.GetRootWindow()); in OnDisplayAdded() 959 EXPECT_FALSE(test_api.GetRootWindow()); in OnDisplayRemoved() 970 test::MirrorWindowTestApi test_api; member in ash::internal::TestDisplayObserver 982 test::MirrorWindowTestApi test_api; in TEST_F() local 983 EXPECT_EQ(NULL, test_api.GetRootWindow()); in TEST_F() 996 test_api.GetRootWindow()->host()->GetBounds().size().ToString()); in TEST_F() 998 test_api.GetRootWindow()->window()->bounds().size().ToString()); in TEST_F() 1003 EXPECT_EQ(NULL, test_api.GetRootWindow()); in TEST_F() 1015 test_api.GetRootWindow()->window()->bounds().size().ToString()); in TEST_F() 1020 test_api.GetRootWindow()->window()->bounds().size().ToString()); in TEST_F() [all …]
|
/external/chromium_org/ui/views/corewm/ |
D | image_grid_unittest.cc | 44 ImageGrid::TestAPI test_api(&grid); in TEST_F() local 60 test_api.GetTransformedLayerBounds( in TEST_F() 67 test_api.GetTransformedLayerBounds( in TEST_F() 72 test_api.GetTransformedLayerBounds( in TEST_F() 79 test_api.GetTransformedLayerBounds( in TEST_F() 86 test_api.GetTransformedLayerBounds( in TEST_F() 94 test_api.GetTransformedLayerBounds( in TEST_F() 100 test_api.GetTransformedLayerBounds( in TEST_F() 108 test_api.GetTransformedLayerBounds( in TEST_F() 116 test_api.GetTransformedLayerBounds( in TEST_F() [all …]
|
/external/chromium_org/ash/launcher/ |
D | launcher_unittest.cc | 79 ash::test::ShelfViewTestAPI* test_api() { in test_api() function in ash::LauncherTest 96 int button_count = test_api()->GetButtonCount(); in TEST_F() 103 ASSERT_EQ(++button_count, test_api()->GetButtonCount()); in TEST_F() 104 ShelfButton* button = test_api()->GetButton(index); in TEST_F() 109 ASSERT_EQ(--button_count, test_api()->GetButtonCount()); in TEST_F() 116 int button_count = test_api()->GetButtonCount(); in TEST_F() 129 ASSERT_EQ(++button_count, test_api()->GetButtonCount()); in TEST_F() 130 ShelfButton* button = test_api()->GetButton(index); in TEST_F() 144 while (!test_api()->IsOverflowButtonVisible()) { in TEST_F() 155 test_api()->ShowOverflowBubble(); in TEST_F() [all …]
|
/external/chromium/chrome/browser/chromeos/cros/ |
D | cros_mock.cc | 55 chromeos::CrosLibrary::TestApi* CrosMock::test_api() { in test_api() function in chromeos::CrosMock 73 test_api()->SetLibraryLoader(loader_, true); in InitMockLibraryLoader() 81 test_api()->SetCryptohomeLibrary(mock_cryptohome_library_, true); in InitMockCryptohomeLibrary() 89 test_api()->SetInputMethodLibrary(mock_input_method_library_, true); in InitMockInputMethodLibrary() 97 test_api()->SetNetworkLibrary(mock_network_library_, true); in InitMockNetworkLibrary() 105 test_api()->SetPowerLibrary(mock_power_library_, true); in InitMockPowerLibrary() 113 test_api()->SetScreenLockLibrary(mock_screen_lock_library_, true); in InitMockScreenLockLibrary() 122 test_api()->SetSpeechSynthesisLibrary(mock_speech_synthesis_library_, true); in InitMockSpeechSynthesisLibrary() 130 test_api()->SetTouchpadLibrary(mock_touchpad_library_, true); in InitMockTouchpadLibrary() 387 test_api()->SetLibraryLoader(NULL, false); in TearDownMocks() [all …]
|
/external/chromium_org/components/web_modal/ |
D | web_contents_modal_dialog_manager_unittest.cc | 91 test_api.reset(new WebContentsModalDialogManager::TestApi(manager)); in SetUp() 95 test_api->ResetNativeManager(native_manager); in SetUp() 99 test_api.reset(); in TearDown() 114 scoped_ptr<WebContentsModalDialogManager::TestApi> test_api; member in web_modal::WebContentsModalDialogManagerTest 186 test_api->WebContentsWasHidden(); in TEST_F() 193 test_api->WebContentsWasShown(); in TEST_F() 220 test_api->DidAttachInterstitialPage(); in TEST_F() 293 test_api->CloseAllDialogs(); in TEST_F()
|
/external/chromium_org/ui/gfx/animation/ |
D | slide_animation_unittest.cc | 57 SlideAnimation::TestApi test_api(&animation); in TEST_F() local 72 test_api.SetStartTime(base::TimeTicks()); in TEST_F() 73 test_api.Step(base::TimeTicks() + base::TimeDelta::FromMilliseconds(50)); in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/login/ |
D | wallpaper_manager_unittest.cc | 117 scoped_ptr<WallpaperManager::TestApi> test_api; in TEST_F() local 118 test_api.reset(new WallpaperManager::TestApi(WallpaperManager::Get())); in TEST_F() 123 EXPECT_TRUE(test_api->current_wallpaper_path().empty()); in TEST_F()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | cryptohome_op_unittest.cc | 43 CrosLibrary::TestApi* test_api = CrosLibrary::Get()->GetTestApi(); in SetUp() local 52 test_api->SetLibraryLoader(loader, true); in SetUp() 54 test_api->SetCryptohomeLibrary(mock_library_.get(), false); in SetUp() 62 chromeos::CrosLibrary::TestApi* test_api = in TearDown() local 64 test_api->SetLibraryLoader(NULL, false); in TearDown()
|
D | online_attempt_unittest.cc | 43 CrosLibrary::TestApi* test_api = CrosLibrary::Get()->GetTestApi(); in SetUp() local 52 test_api->SetLibraryLoader(loader, true); in SetUp() 61 chromeos::CrosLibrary::TestApi* test_api = in TearDown() local 63 test_api->SetLibraryLoader(NULL, false); in TearDown()
|
D | parallel_authenticator_unittest.cc | 83 chromeos::CrosLibrary::TestApi* test_api = in SetUp() local 92 test_api->SetLibraryLoader(loader_, true); in SetUp() 95 test_api->SetCryptohomeLibrary(mock_library_, true); in SetUp() 111 chromeos::CrosLibrary::TestApi* test_api = in TearDown() local 113 test_api->SetLibraryLoader(NULL, false); in TearDown() 114 test_api->SetCryptohomeLibrary(NULL, false); in TearDown()
|
D | existing_user_controller_browsertest.cc | 126 cros_mock_->test_api()->SetLoginLibrary(mock_login_library_, true); in SetUpInProcessBrowserTestFixture() 163 cros_mock_->test_api()->SetLoginLibrary(NULL, false); in TearDownInProcessBrowserTestFixture()
|
D | update_screen_browsertest.cc | 41 cros_mock_->test_api()->SetLoginLibrary(mock_login_library_, true); in SetUpInProcessBrowserTestFixture() 46 cros_mock_->test_api()->SetUpdateLibrary(mock_update_library_, true); in SetUpInProcessBrowserTestFixture() 74 cros_mock_->test_api()->SetUpdateLibrary(NULL, true); in TearDownInProcessBrowserTestFixture()
|
D | google_authenticator_unittest.cc | 70 chromeos::CrosLibrary::TestApi* test_api = in SetUp() local 79 test_api->SetLibraryLoader(loader_, true); in SetUp() 82 test_api->SetCryptohomeLibrary(mock_library_, true); in SetUp() 88 chromeos::CrosLibrary::TestApi* test_api = in TearDown() local 90 test_api->SetLibraryLoader(NULL, false); in TearDown() 91 test_api->SetCryptohomeLibrary(NULL, false); in TearDown()
|
/external/chromium_org/tools/ |
D | gypv8sh.py | 34 (v8_shell, mock_js, axs_testing_js, test_api, js2webui, test_type, 38 axs_testing_js, test_api, js2webui]
|
/external/chromium_org/ash/shelf/ |
D | shelf_tooltip_manager_unittest.cc | 235 ui::LocatedEventTestApi test_api(&mouse_event); in TEST_F() local 243 test_api.set_location(tooltip_rect.origin() + gfx::Vector2d(-1, -1)); in TEST_F() 275 ui::LocatedEventTestApi test_api(&mouse_event); in TEST_F() local 276 test_api.set_location(tooltip_rect.origin() + gfx::Vector2d(-1, -1)); in TEST_F()
|
/external/chromium_org/apps/app_shim/ |
D | app_shim_host_manager_browsertest_mac.mm | 219 test::AppShimHostManagerTestApi test_api( 221 EXPECT_TRUE(test_api.factory()); 228 test::AppShimHostManagerTestApi test_api( 230 EXPECT_TRUE(test_api.factory()); 267 test::AppShimHostManagerTestApi test_api( 269 EXPECT_FALSE(test_api.factory());
|
/external/chromium_org/ui/views/controls/combobox/ |
D | combobox_unittest.cc | 460 test::MenuRunnerTestAPI test_api( in TEST_F() local 462 test_api.SetMenuRunnerHandler(menu_runner_handler.Pass()); in TEST_F() 517 scoped_ptr<test::MenuRunnerTestAPI> test_api( in TEST_F() local 519 test_api->SetMenuRunnerHandler(menu_runner_handler.Pass()); in TEST_F() 529 test_api.reset( in TEST_F() 531 test_api->SetMenuRunnerHandler(menu_runner_handler.Pass()); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
D | media_galleries_dialog_cocoa_browsertest.mm | 54 WebContentsModalDialogManager::TestApi test_api( 56 test_api.CloseAllDialogs();
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | certificate_viewer_mac_browsertest.mm | 47 WebContentsModalDialogManager::TestApi test_api( 49 test_api.CloseAllDialogs();
|
D | ssl_client_certificate_selector_cocoa_browsertest.mm | 64 WebContentsModalDialogManager::TestApi test_api( 66 test_api.CloseAllDialogs();
|
/external/chromium_org/chrome/ |
D | js_unittest_vars.gypi | 10 'test_api_js': '<(DEPTH)/chrome/test/data/webui/test_api.js',
|
/external/chromium_org/ash/wm/panels/ |
D | panel_layout_manager_unittest.cc | 223 test::ShelfViewTestAPI test_api(shelf_view); in ClickLauncherItemForWindow() local 224 test_api.SetAnimationDuration(1); in ClickLauncherItemForWindow() 225 test_api.RunMessageLoopUntilAnimationsDone(); in ClickLauncherItemForWindow() 228 gfx::Rect bounds = test_api.GetButton(index)->GetBoundsInScreen(); in ClickLauncherItemForWindow() 234 test_api.RunMessageLoopUntilAnimationsDone(); in ClickLauncherItemForWindow() 254 test::ShelfViewTestAPI test_api(shelf_view); in SetShelfAutoHideBehavior() local 255 test_api.RunMessageLoopUntilAnimationsDone(); in SetShelfAutoHideBehavior()
|