| Index: chrome/browser/google_apis/test_server/http_response_unittest.cc
|
| diff --git a/chrome/browser/google_apis/test_server/http_response_unittest.cc b/chrome/browser/google_apis/test_server/http_response_unittest.cc
|
| deleted file mode 100644
|
| index dee9b3592845e7dc81bd2ba07fe4dfcf41cc614c..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/google_apis/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 "chrome/browser/google_apis/test_server/http_response.h"
|
| -
|
| -#include "testing/gtest/include/gtest/gtest.h"
|
| -
|
| -namespace google_apis {
|
| -namespace test_server {
|
| -
|
| -TEST(HttpResponseTest, GenerateResponse) {
|
| - HttpResponse response;
|
| - response.set_code(SUCCESS);
|
| - 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: closed\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 google_apis
|
|
|