summaryrefslogtreecommitdiffstats
path: root/chrome/test/automated_ui_tests
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 22:18:13 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 22:18:13 +0000
commitc82eaa5262da607ff04069cefcf67df4cf5bbcb1 (patch)
tree73c087115c2aace336505fd931dca1a6043ebdf7 /chrome/test/automated_ui_tests
parent3b1ea24972af975f96f7bdf6040fbc5048ea8b6d (diff)
downloadchromium_src-c82eaa5262da607ff04069cefcf67df4cf5bbcb1.zip
chromium_src-c82eaa5262da607ff04069cefcf67df4cf5bbcb1.tar.gz
chromium_src-c82eaa5262da607ff04069cefcf67df4cf5bbcb1.tar.bz2
Flaky tests on linux/view/64bit builds.
Also updated browser_tests to use #define instead of #if/else, like other tests. BUG=28808 TEST=None Review URL: http://codereview.chromium.org/442012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automated_ui_tests')
-rw-r--r--chrome/test/automated_ui_tests/automated_ui_test_test.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome/test/automated_ui_tests/automated_ui_test_test.cc b/chrome/test/automated_ui_tests/automated_ui_test_test.cc
index c913717..285a387 100644
--- a/chrome/test/automated_ui_tests/automated_ui_test_test.cc
+++ b/chrome/test/automated_ui_tests/automated_ui_test_test.cc
@@ -62,7 +62,14 @@ TEST_F(AutomatedUITestBase, Home) {
EXPECT_EQ(L"", title);
}
-TEST_F(AutomatedUITestBase, NewTab) {
+#if defined(OS_LINUX) && defined(TOOLKIT_VIEWS)
+// These tests are flaky on linux/views builds.
+// See http://crbug.com/28808.
+#define OpenNewTabTest FLAKY_OpenNewTab
+#define OpenBrowserWindow FLAKY_OpenBrowserWindow
+#endif
+
+TEST_F(AutomatedUITestBase, OpenNewTab) {
int tab_count;
active_browser()->GetTabCount(&tab_count);
ASSERT_EQ(1, tab_count);