summaryrefslogtreecommitdiffstats
path: root/chrome/browser/repost_form_warning_uitest.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 07:17:30 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 07:17:30 +0000
commitf72a1ccce08050ede3d1e46cbbcd9cf5b3a1c236 (patch)
treee915476e6da96eb67e56e6ea63c8d05a4280cbee /chrome/browser/repost_form_warning_uitest.cc
parent7e868c9633b4d6f41c8d559625b69ef9fece5b8b (diff)
downloadchromium_src-f72a1ccce08050ede3d1e46cbbcd9cf5b3a1c236.zip
chromium_src-f72a1ccce08050ede3d1e46cbbcd9cf5b3a1c236.tar.gz
chromium_src-f72a1ccce08050ede3d1e46cbbcd9cf5b3a1c236.tar.bz2
Remove deprecated things from net test suite:
- URLRequestTestContext (from now on use TestURLRequestContext) - TestServerPageW (use TestServerPage). TEST=none BUG=none Review URL: http://codereview.chromium.org/1814002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46044 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/repost_form_warning_uitest.cc')
-rw-r--r--chrome/browser/repost_form_warning_uitest.cc10
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")));
}