diff options
author | shinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-26 18:17:03 +0000 |
---|---|---|
committer | shinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-26 18:17:03 +0000 |
commit | 5086cfc86ff0050abbf63972bd70cbc48d5e7f57 (patch) | |
tree | 98855082b195a1a0648475a57d7ba3778ff14f20 /net/http/http_response_headers_unittest.cc | |
parent | a60865a91102be0b19d826fb9d26f0bc98066ca6 (diff) | |
download | chromium_src-5086cfc86ff0050abbf63972bd70cbc48d5e7f57.zip chromium_src-5086cfc86ff0050abbf63972bd70cbc48d5e7f57.tar.gz chromium_src-5086cfc86ff0050abbf63972bd70cbc48d5e7f57.tar.bz2 |
Removed wchar_t from Time::FromString.
Also, some of the test case are moved from pr_time_unittests to time_unittests.
BUG=77962
TEST=base_unittests:TimeTest.*
Review URL: http://codereview.chromium.org/6903022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83048 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_response_headers_unittest.cc')
-rw-r--r-- | net/http/http_response_headers_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/http/http_response_headers_unittest.cc b/net/http/http_response_headers_unittest.cc index 7c1f134..261b18b 100644 --- a/net/http/http_response_headers_unittest.cc +++ b/net/http/http_response_headers_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -799,9 +799,9 @@ TEST(HttpResponseHeadersTest, RequiresValidation) { // TODO(darin): add many many more tests here }; base::Time request_time, response_time, current_time; - base::Time::FromString(L"Wed, 28 Nov 2007 00:40:09 GMT", &request_time); - base::Time::FromString(L"Wed, 28 Nov 2007 00:40:12 GMT", &response_time); - base::Time::FromString(L"Wed, 28 Nov 2007 00:45:20 GMT", ¤t_time); + base::Time::FromString("Wed, 28 Nov 2007 00:40:09 GMT", &request_time); + base::Time::FromString("Wed, 28 Nov 2007 00:40:12 GMT", &response_time); + base::Time::FromString("Wed, 28 Nov 2007 00:45:20 GMT", ¤t_time); for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { std::string headers(tests[i].headers); |