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

Unified Diff: chrome/test/functional/test_utils.py

Issue 6685099: Removing command_execution_timeout_ms in favor of action_max_timeout_ms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/test/functional/test_utils.py
===================================================================
--- chrome/test/functional/test_utils.py (revision 79305)
+++ chrome/test/functional/test_utils.py (working copy)
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 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.
@@ -217,17 +217,3 @@
test.assertTrue(s in content_string, s)
for s in nothave_list:
test.assertTrue(s not in content_string)
-
-
-def CallFunctionWithNewTimeout(self, new_timeout, function):
Nirnimesh 2011/03/29 20:27:28 Please let this be. And fix CmdExecutionTimeoutCha
Huyen 2011/03/31 02:42:55 Done. I also changed CmdExecutionTimeoutChanger to
- """Sets the timeout to |new_timeout| and calls |function|.
-
- This method resets the timeout before returning.
- """
- timeout_changer = pyauto.PyUITest.CmdExecutionTimeoutChanger(
- self, new_timeout)
- logging.info('Automation execution timeout has been changed to %d. '
- 'If the timeout is large the test might appear to hang.'
- % new_timeout)
- function()
- del timeout_changer

Powered by Google App Engine
This is Rietveld 408576698