diff options
author | paulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-16 02:57:22 +0000 |
---|---|---|
committer | paulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-16 02:57:22 +0000 |
commit | 7fb087e0800d0faaa31e4a029ad6813f251b4848 (patch) | |
tree | 2076a41c5df464dda2709950cde1c4b4786280ed /chrome/browser/tab_contents/view_source_uitest.cc | |
parent | f643bc141744031f1e3b304f753dd3837e6600eb (diff) | |
download | chromium_src-7fb087e0800d0faaa31e4a029ad6813f251b4848.zip chromium_src-7fb087e0800d0faaa31e4a029ad6813f251b4848.tar.gz chromium_src-7fb087e0800d0faaa31e4a029ad6813f251b4848.tar.bz2 |
Remove timeout constants from ui_tests. All tests will now
use accessors for various timeouts which can be set (via
command line parameters) to values appropriate to the test
environment, such as longer timeouts when running under purify.
Review URL: http://codereview.chromium.org/18109
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8164 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/view_source_uitest.cc')
-rw-r--r-- | chrome/browser/tab_contents/view_source_uitest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/view_source_uitest.cc b/chrome/browser/tab_contents/view_source_uitest.cc index 73cc875..1cc19c6 100644 --- a/chrome/browser/tab_contents/view_source_uitest.cc +++ b/chrome/browser/tab_contents/view_source_uitest.cc @@ -49,7 +49,7 @@ TEST_F(ViewSourceTest, DoesBrowserRenderInViewSource) { url = GURL("view-source:" + url.spec()); scoped_ptr<TabProxy> tab(GetActiveTab()); tab->NavigateToURL(url); - Sleep(kWaitForActionMsec); + Sleep(sleep_timeout_ms()); // Try to retrieve the cookie that the page sets // It should not be there (because we are in view-source mode |