diff options
Diffstat (limited to 'chrome/browser/repost_form_warning_uitest.cc')
-rw-r--r-- | chrome/browser/repost_form_warning_uitest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/repost_form_warning_uitest.cc b/chrome/browser/repost_form_warning_uitest.cc index b17e588..4f61292 100644 --- a/chrome/browser/repost_form_warning_uitest.cc +++ b/chrome/browser/repost_form_warning_uitest.cc @@ -32,7 +32,7 @@ TEST_F(RepostFormWarningTest, TestDoubleReload) { ASSERT_TRUE(tab.get()); // Load a form. - ASSERT_TRUE(tab->NavigateToURL(server->TestServerPageW(L"files/form.html"))); + ASSERT_TRUE(tab->NavigateToURL(server->TestServerPage("files/form.html"))); // Submit it. ASSERT_TRUE(tab->NavigateToURL(GURL( "javascript:document.getElementById('form').submit()"))); @@ -42,7 +42,7 @@ TEST_F(RepostFormWarningTest, TestDoubleReload) { tab->ReloadAsync(); // Navigate away from the page (this is when the test usually crashes). - ASSERT_TRUE(tab->NavigateToURL(server->TestServerPageW(L"bar"))); + ASSERT_TRUE(tab->NavigateToURL(server->TestServerPage("bar"))); } TEST_F(RepostFormWarningTest, TestLoginAfterRepost) { @@ -56,7 +56,7 @@ TEST_F(RepostFormWarningTest, TestLoginAfterRepost) { ASSERT_TRUE(tab.get()); // Load a form. - ASSERT_TRUE(tab->NavigateToURL(server->TestServerPageW(L"files/form.html"))); + ASSERT_TRUE(tab->NavigateToURL(server->TestServerPage("files/form.html"))); // Submit it. ASSERT_TRUE(tab->NavigateToURL(GURL( "javascript:document.getElementById('form').submit()"))); @@ -66,11 +66,11 @@ TEST_F(RepostFormWarningTest, TestLoginAfterRepost) { // Navigate to a page that requires authentication, bringing up another // tab-modal sheet. - ASSERT_TRUE(tab->NavigateToURL(server->TestServerPageW(L"auth-basic"))); + ASSERT_TRUE(tab->NavigateToURL(server->TestServerPage("auth-basic"))); // Try to reload it again. tab->ReloadAsync(); // Navigate away from the page. - ASSERT_TRUE(tab->NavigateToURL(server->TestServerPageW(L"bar"))); + ASSERT_TRUE(tab->NavigateToURL(server->TestServerPage("bar"))); } |