diff options
author | paulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-09 00:02:52 +0000 |
---|---|---|
committer | paulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-09 00:02:52 +0000 |
commit | bc5a3d95c7a41db7b230a2d8612636590d91b5e1 (patch) | |
tree | 6aecf8f4c52aeb57969c5866e1dcf8479ca4cdb8 /chrome/test | |
parent | f940db87991e4417c7dbebabc95b8e3ff360a95f (diff) | |
download | chromium_src-bc5a3d95c7a41db7b230a2d8612636590d91b5e1.zip chromium_src-bc5a3d95c7a41db7b230a2d8612636590d91b5e1.tar.gz chromium_src-bc5a3d95c7a41db7b230a2d8612636590d91b5e1.tar.bz2 |
Make more ui_tests Purify friendly.
Review URL: http://codereview.chromium.org/17293
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/automation/automation_proxy_uitest.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc index 77721ce..053e69c 100644 --- a/chrome/test/automation/automation_proxy_uitest.cc +++ b/chrome/test/automation/automation_proxy_uitest.cc @@ -465,8 +465,8 @@ TEST_F(AutomationProxyTest, NavigateToURLAsync) { GURL newurl = net::FilePathToFileURL(filename); ASSERT_TRUE(tab->NavigateToURLAsync(newurl)); - std::string value = WaitUntilCookieNonEmpty(tab.get(), newurl, - "foo", 250, 5*1000); + std::string value = WaitUntilCookieNonEmpty(tab.get(), newurl, "foo", 250, + action_max_timeout_ms()); ASSERT_STREQ("baz", value.c_str()); } @@ -791,7 +791,8 @@ TEST_F(AutomationProxyTest, AutocompleteParallelProxy) { scoped_ptr<AutocompleteEditProxy> edit2( automation()->GetAutocompleteEditForBrowser(browser2.get())); ASSERT_TRUE(edit2.get()); - EXPECT_TRUE(browser2->GetTab(0)->WaitForTabToBeRestored(action_timeout_ms())); + EXPECT_TRUE(browser2->GetTab(0)->WaitForTabToBeRestored( + action_max_timeout_ms())); const std::wstring text_to_set1 = L"Lollerskates"; const std::wstring text_to_set2 = L"Roflcopter"; std::wstring actual_text1, actual_text2; |