summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_tests.gypi
diff options
context:
space:
mode:
authorsuzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 21:17:57 +0000
committersuzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 21:17:57 +0000
commit853300a85cf5390d7e7e25fcf5acf391306c94f8 (patch)
tree00d89c84c2855562fed93e64f04a3180eb70d99b /chrome/chrome_tests.gypi
parent7fdad3a542e60dd9426e103b813421f3d1b37b40 (diff)
downloadchromium_src-853300a85cf5390d7e7e25fcf5acf391306c94f8.zip
chromium_src-853300a85cf5390d7e7e25fcf5acf391306c94f8.tar.gz
chromium_src-853300a85cf5390d7e7e25fcf5acf391306c94f8.tar.bz2
[Mac]Port browser_keyevents_browsertest.cc and browser_focus_uitest.cc to Mac.
This CL includes: 1. Implementation of ui_test_utils_mac.mm 2. Fix for ui_controls_mac.mm 3. Port browser_keyevents_browsertest.cc to Mac and add some new tests for Mac. 4. Partially port browser_focus_uitest.cc to Mac, now can be compiled and run on Mac but some tests fail. 5. Add two functions into ui_test_utils.h: HideNativeWindow() and ShowAndFocusNativeWindow(). The latter one shows a window and grabs the input focus, which is useful for tests depending on fake keyboard/mouse events. Because browser_keyevents_browsertests.cc and browser_focus_uitest.cc belong to interactive_ui_tests, which is not available on Mac (see http://crbug.com/21276), in order to test them on Mac, you may want to move them into browser_tests locally. But it won't work on build and try bots, because these tests must be run with screen unlocked. This CL depends on CL: http://codereview.chromium.org/2973004 and http://codereview.chromium.org/2805075 BUG=22515 Keyboard handling needs unit tests BUG=48671 interactive_ui_test: BrowserKeyEventsTest.NormalKeyEvents is flaky BUG=48936 Browser window is opened inactivated when running an InProcessBrowserTest. TEST=none Review URL: http://codereview.chromium.org/2986004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53840 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r--chrome/chrome_tests.gypi4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index da22578..d2207d4 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -124,7 +124,7 @@
'test/ui_test_utils.cc',
'test/ui_test_utils.h',
'test/ui_test_utils_linux.cc',
- 'test/ui_test_utils_mac.cc',
+ 'test/ui_test_utils_mac.mm',
'test/ui_test_utils_win.cc',
],
'conditions': [
@@ -2164,7 +2164,7 @@
'test/test_notification_tracker.h',
'test/testing_browser_process.h',
'test/ui_test_utils_linux.cc',
- 'test/ui_test_utils_mac.cc',
+ 'test/ui_test_utils_mac.mm',
'test/ui_test_utils_win.cc',
'test/data/resource.h',
'test/data/resource.rc',