Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3685)

Unified Diff: chrome/common/chrome_plugin_unittest.cc

Issue 17030: Revert 7508.7509 and 7510 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/find_bar_win_uitest.cc ('k') | chrome/common/net/cache_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_plugin_unittest.cc
===================================================================
--- chrome/common/chrome_plugin_unittest.cc (revision 7513)
+++ chrome/common/chrome_plugin_unittest.cc (working copy)
@@ -258,12 +258,9 @@
// Tests that the plugin can issue a POST request.
TEST_F(ChromePluginTest, CanMakePOSTRequest) {
- scoped_refptr<HTTPTestServer> server =
- HTTPTestServer::CreateServer(kDocRoot);
- ASSERT_TRUE(NULL != server.get());
+ TestServer server(kDocRoot);
+ GURL url = server.TestServerPage("echo");
- GURL url = server->TestServerPage("echo");
-
EXPECT_EQ(CPERR_SUCCESS, test_funcs_.test_make_request("POST", url));
// Note: we must add this task after we make the request, so that
« no previous file with comments | « chrome/browser/views/find_bar_win_uitest.cc ('k') | chrome/common/net/cache_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698