/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(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet()); 72 EXPECT_EQ(gfx::Display::ROTATE_90, test_api.GetDisplay().rotation()); 73 EXPECT_TRUE(test_api.GetCurrentCursor().platform()); 79 EXPECT_EQ(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet()); 81 EXPECT_EQ(ui::CURSOR_SET_NORMAL, test_api.GetCurrentCursorSet()); 83 EXPECT_EQ(ui::CURSOR_SET_LARGE, test_api.GetCurrentCursorSet()) [all...] |
ash_native_cursor_manager_interactive_uitest.cc | 70 test::CursorManagerTestApi test_api(cursor_manager); 84 EXPECT_EQ(1.0f, test_api.GetDisplay().device_scale_factor()); 87 EXPECT_EQ(2.0f, test_api.GetDisplay().device_scale_factor());
|
/external/chromium_org/ash/display/ |
mirror_window_controller_unittest.cc | 72 test::MirrorWindowTestApi test_api; local 88 EXPECT_TRUE(test_api.GetCursorWindow()); 95 gfx::Point hot_point = test_api.GetCursorHotPoint(); 97 test_api.GetCursorWindow()->bounds().origin(); 101 EXPECT_EQ(ui::kCursorNull, test_api.GetCurrentCursorType()); 102 EXPECT_TRUE(test_api.GetCursorWindow()->IsVisible()); 106 hot_point = test_api.GetCursorHotPoint(); 107 cursor_window_origin = test_api.GetCursorWindow()->bounds().origin(); 110 EXPECT_EQ(ui::kCursorNorthResize, test_api.GetCurrentCursorType()); 116 EXPECT_FALSE(test_api.GetCursorWindow()->IsVisible()) 129 test::MirrorWindowTestApi test_api; local 196 test::MirrorWindowTestApi test_api; local 286 test::MirrorWindowTestApi test_api; local [all...] |
/external/chromium_org/ash/launcher/ |
launcher_unittest.cc | 79 ash::test::ShelfViewTestAPI* test_api() { function in class:ash::LauncherTest 96 int button_count = test_api()->GetButtonCount(); 103 ASSERT_EQ(++button_count, test_api()->GetButtonCount()); 104 ShelfButton* button = test_api()->GetButton(index); 109 ASSERT_EQ(--button_count, test_api()->GetButtonCount()); 116 int button_count = test_api()->GetButtonCount(); 129 ASSERT_EQ(++button_count, test_api()->GetButtonCount()); 130 ShelfButton* button = test_api()->GetButton(index); 144 while (!test_api()->IsOverflowButtonVisible()) { 155 test_api()->ShowOverflowBubble() [all...] |
/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/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/chrome/browser/extensions/api/input_ime/ |
input_ime_apitest_chromeos.cc | 6 #include "chrome/browser/extensions/api/test/test_api.h"
|
/external/chromium_org/chrome/ |
js_unittest_vars.gypi | 10 'test_api_js': '<(DEPTH)/chrome/test/data/webui/test_api.js',
|
/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_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/cocoa/extensions/ |
media_galleries_dialog_cocoa_browsertest.mm | 54 WebContentsModalDialogManager::TestApi test_api( 56 test_api.CloseAllDialogs();
|
/external/chromium_org/components/web_modal/ |
web_contents_modal_dialog_manager_unittest.cc | 91 test_api.reset(new WebContentsModalDialogManager::TestApi(manager)); 95 test_api->ResetNativeManager(native_manager); 99 test_api.reset(); 114 scoped_ptr<WebContentsModalDialogManager::TestApi> test_api; member in class:web_modal::WebContentsModalDialogManagerTest 186 test_api->WebContentsWasHidden(); 193 test_api->WebContentsWasShown(); 220 test_api->DidAttachInterstitialPage(); 293 test_api->CloseAllDialogs();
|
/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);
|
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);
|
/external/chromium_org/chrome/browser/chromeos/login/ |
wallpaper_manager_unittest.cc | 117 scoped_ptr<WallpaperManager::TestApi> test_api; local 118 test_api.reset(new WallpaperManager::TestApi(WallpaperManager::Get())); 123 EXPECT_TRUE(test_api->current_wallpaper_path().empty());
|
/external/chromium_org/apps/app_shim/ |
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/chrome/browser/ui/cocoa/ |
certificate_viewer_mac_browsertest.mm | 47 WebContentsModalDialogManager::TestApi test_api( 49 test_api.CloseAllDialogs();
|
ssl_client_certificate_selector_cocoa_browsertest.mm | 64 WebContentsModalDialogManager::TestApi test_api( 66 test_api.CloseAllDialogs();
|
/external/chromium_org/chrome/test/base/ |
web_ui_browsertest.h | 38 // See chrome/test/data/webui/test_api.js for the javascript side test API's. 54 // Note that calls to functions in test_api.js are not supported. 65 // Runs a test fixture that may include calls to functions in test_api.js. 70 // Runs a test that may include calls to functions in test_api.js. 81 // Runs a test that may include calls to functions in test_api.js, and waits
|
v8_unit_test.h | 32 // Runs |test_fixture|.|test_name| using the framework in test_api.js. 66 // test_api calls testDone with |args| to report its results, this will
|
/external/chromium_org/ash/shelf/ |
shelf_tooltip_manager_unittest.cc | 235 ui::LocatedEventTestApi test_api(&mouse_event); 243 test_api.set_location(tooltip_rect.origin() + gfx::Vector2d(-1, -1)); 275 ui::LocatedEventTestApi test_api(&mouse_event); 276 test_api.set_location(tooltip_rect.origin() + gfx::Vector2d(-1, -1));
|
/external/chromium_org/chrome/browser/extensions/ |
extension_test_message_listener.cc | 10 #include "chrome/browser/extensions/api/test/test_api.h"
|
/external/chromium_org/ui/views/controls/combobox/ |
combobox_unittest.cc | 460 test::MenuRunnerTestAPI test_api( 462 test_api.SetMenuRunnerHandler(menu_runner_handler.Pass()); 517 scoped_ptr<test::MenuRunnerTestAPI> test_api( 519 test_api->SetMenuRunnerHandler(menu_runner_handler.Pass()); 529 test_api.reset( 531 test_api->SetMenuRunnerHandler(menu_runner_handler.Pass());
|