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

Unified Diff: net/test/embedded_test_server/http_response_unittest.cc

Issue 16268017: GTTF: convert some tests in chrome to use EmbeddedTestServer patch nr 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile Created 7 years, 6 months 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
Index: net/test/embedded_test_server/http_response_unittest.cc
diff --git a/net/test/embedded_test_server/http_response_unittest.cc b/net/test/embedded_test_server/http_response_unittest.cc
index 82f5112cec13f94942893cb2cd3c7cceddd3f753..a820af373cd1458836a8265e403089d30a646926 100644
--- a/net/test/embedded_test_server/http_response_unittest.cc
+++ b/net/test/embedded_test_server/http_response_unittest.cc
@@ -11,7 +11,7 @@ namespace test_server {
TEST(HttpResponseTest, GenerateResponse) {
BasicHttpResponse response;
- response.set_code(SUCCESS);
+ response.set_code(HTTP_OK);
response.set_content("Sample content - Hello world!");
response.set_content_type("text/plain");
response.AddCustomHeader("Simple-Header", "Simple value.");
« net/http/http_status_code_list.h ('K') | « net/test/embedded_test_server/http_response.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698