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

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

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « net/test/embedded_test_server/http_response.cc ('k') | net/test/gtest_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 83b767f5fa8416ab3c02e0b473f5bd5f477b018e..0000000000000000000000000000000000000000
--- a/net/test/embedded_test_server/http_response_unittest.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "net/test/embedded_test_server/http_response.h"
-
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace net {
-namespace test_server {
-
-TEST(HttpResponseTest, GenerateResponse) {
- BasicHttpResponse response;
- response.set_code(HTTP_OK);
- response.set_content("Sample content - Hello world!");
- response.set_content_type("text/plain");
- response.AddCustomHeader("Simple-Header", "Simple value.");
-
- std::string kExpectedResponseString =
- "HTTP/1.1 200 OK\r\n"
- "Connection: close\r\n"
- "Content-Length: 29\r\n"
- "Content-Type: text/plain\r\n"
- "Simple-Header: Simple value.\r\n\r\n"
- "Sample content - Hello world!";
-
- EXPECT_EQ(kExpectedResponseString, response.ToResponseString());
-}
-
-} // namespace test_server
-} // namespace net
« no previous file with comments | « net/test/embedded_test_server/http_response.cc ('k') | net/test/gtest_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698