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

Unified Diff: chrome/browser/tab_restore_uitest.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 | « no previous file | chrome/test/automated_ui_tests/automated_ui_test_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_restore_uitest.cc
===================================================================
--- chrome/browser/tab_restore_uitest.cc (revision 18837)
+++ chrome/browser/tab_restore_uitest.cc (working copy)
@@ -20,6 +20,13 @@
#include "net/base/net_util.h"
#include "net/url_request/url_request_unittest.h"
+// http://code.google.com/p/chromium/issues/detail?id=14774
+#if defined(OS_WIN) && !defined(NDEBUG)
+#define MAYBE_BasicRestoreFromClosedWindow DISABLED_BasicRestoreFromClosedWindow
+#else
+#define MAYBE_BasicRestoreFromClosedWindow BasicRestoreFromClosedWindow
+#endif
+
class TabRestoreUITest : public UITest {
public:
TabRestoreUITest() : UITest() {
@@ -235,7 +242,7 @@
// Close a tab, open a new window, close the first window, then restore the
// tab. It should be in a new window.
-TEST_F(TabRestoreUITest, BasicRestoreFromClosedWindow) {
+TEST_F(TabRestoreUITest, MAYBE_BasicRestoreFromClosedWindow) {
scoped_refptr<BrowserProxy> browser_proxy(automation()->GetBrowserWindow(0));
CheckActiveWindow(browser_proxy.get());
« no previous file with comments | « no previous file | chrome/test/automated_ui_tests/automated_ui_test_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698