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

Unified Diff: chrome_frame/test/infobar_unittests.cc

Issue 10007043: Attempt to fix ChromeFrameTestWithWebServer tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added retry logic for WidgetModeIE_Version. Created 8 years, 8 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
Index: chrome_frame/test/infobar_unittests.cc
diff --git a/chrome_frame/test/infobar_unittests.cc b/chrome_frame/test/infobar_unittests.cc
index 6704e296aede77687ca20e2446fb2380cb7f17a5..18f597a3917fb4960d3791e3e57bbe43c145eaa6 100644
--- a/chrome_frame/test/infobar_unittests.cc
+++ b/chrome_frame/test/infobar_unittests.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -536,7 +536,8 @@ TEST(InfobarsInfobarWindowTest, SlidingTest) {
ASSERT_NO_FATAL_FAILURE(check.Call("returned from Show"));
- ASSERT_NO_FATAL_FAILURE(message_loop.RunFor(10)); // seconds
+ ASSERT_NO_FATAL_FAILURE(message_loop.RunFor(
+ base::TimeDelta::FromSeconds(10)));
window.DestroyWindow();
@@ -592,7 +593,7 @@ TEST(InfobarsInfobarManagerTest, BasicTest) {
ASSERT_TRUE(manager->Show(content, TOP_INFOBAR));
- message_loop.RunFor(10); // seconds
+ message_loop.RunFor(base::TimeDelta::FromSeconds(10));
window.DestroyWindow();

Powered by Google App Engine
This is Rietveld 408576698