Chromium Code Reviews| 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 |