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-07-23 20:38:56 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-23 20:38:56 +0000
commite70c6a8ce0d7a9e426c7247f5b771bed1b9eae4a (patch)
treefa50ca32a7fc32fd0adb7d1aebdb96a84e0477eb /chrome/browser/repost_form_warning_uitest.cc
parentf324cce9f59858e24b59258271d186f84c3f3f1a (diff)
downloadchromium_src-e70c6a8ce0d7a9e426c7247f5b771bed1b9eae4a.zip
chromium_src-e70c6a8ce0d7a9e426c7247f5b771bed1b9eae4a.tar.gz
chromium_src-e70c6a8ce0d7a9e426c7247f5b771bed1b9eae4a.tar.bz2
GTTF: test server cleanup:
- simplify the public interface - remove unneeded methods - make it easier to understand TEST=none BUG=49680 Review URL: http://codereview.chromium.org/2881028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/repost_form_warning_uitest.cc')
-rw-r--r--chrome/browser/repost_form_warning_uitest.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/repost_form_warning_uitest.cc b/chrome/browser/repost_form_warning_uitest.cc
index 46e43cb..d5fef12 100644
--- a/chrome/browser/repost_form_warning_uitest.cc
+++ b/chrome/browser/repost_form_warning_uitest.cc
@@ -29,8 +29,7 @@ typedef UITest RepostFormWarningTest;
#endif
TEST_F(RepostFormWarningTest, MAYBE_TestDoubleReload) {
- scoped_refptr<HTTPTestServer> server =
- HTTPTestServer::CreateServer(kDocRoot, NULL);
+ scoped_refptr<HTTPTestServer> server(HTTPTestServer::CreateServer(kDocRoot));
ASSERT_TRUE(NULL != server.get());
scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
ASSERT_TRUE(browser.get());
@@ -60,8 +59,7 @@ TEST_F(RepostFormWarningTest, MAYBE_TestDoubleReload) {
#endif
TEST_F(RepostFormWarningTest, MAYBE_TestLoginAfterRepost) {
- scoped_refptr<HTTPTestServer> server =
- HTTPTestServer::CreateServer(kDocRoot, NULL);
+ scoped_refptr<HTTPTestServer> server(HTTPTestServer::CreateServer(kDocRoot));
ASSERT_TRUE(NULL != server.get());
scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
ASSERT_TRUE(browser.get());