| 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
|
|
|