Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: chrome/test/automated_ui_tests/automated_ui_test_test.cc

Issue 140032: Disable some flaky UI tests in windows Debug. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_restore_uitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automated_ui_tests/automated_ui_test_test.cc
===================================================================
--- chrome/test/automated_ui_tests/automated_ui_test_test.cc (revision 18837)
+++ chrome/test/automated_ui_tests/automated_ui_test_test.cc (working copy)
@@ -22,6 +22,15 @@
OpenCloseBrowserWindowWithAccelerator
#endif
+// http://code.google.com/p/chromium/issues/detail?id=14774
+#if defined(OS_WIN) && !defined(NDEBUG)
+#define MAYBE_CloseTab DISABLED_CloseTab
+#define MAYBE_CloseBrowserWindow DISABLED_CloseBrowserWindow
+#else
+#define MAYBE_CloseTab CloseTab
+#define MAYBE_CloseBrowserWindow CloseBrowserWindow
+#endif
+
TEST_F(AutomatedUITestBase, NewTab) {
int tab_count;
active_browser()->GetTabCount(&tab_count);
@@ -64,7 +73,7 @@
ASSERT_EQ(2, tab_count);
}
-TEST_F(AutomatedUITestBase, CloseTab) {
+TEST_F(AutomatedUITestBase, MAYBE_CloseTab) {
int num_browser_windows;
int tab_count;
NewTab();
@@ -154,7 +163,7 @@
ASSERT_EQ(1, num_browser_windows);
}
-TEST_F(AutomatedUITestBase, CloseBrowserWindow) {
+TEST_F(AutomatedUITestBase, MAYBE_CloseBrowserWindow) {
int tab_count;
NewTab();
active_browser()->GetTabCount(&tab_count);
« no previous file with comments | « chrome/browser/tab_restore_uitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698