diff options
author | shinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-03 05:28:10 +0000 |
---|---|---|
committer | shinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-03 05:28:10 +0000 |
commit | 46470aab29e72565ff358331094402b68d053e30 (patch) | |
tree | 4f70762af8aadd3673aa2cb61adc433721900388 /net/http/http_response_headers_unittest.cc | |
parent | 4e7c71a026ec06c9a4210e84680fc368e1b2f168 (diff) | |
download | chromium_src-46470aab29e72565ff358331094402b68d053e30.zip chromium_src-46470aab29e72565ff358331094402b68d053e30.tar.gz chromium_src-46470aab29e72565ff358331094402b68d053e30.tar.bz2 |
Removed wchat_t from Time::FromString.
Also, some of the test case are moved for pr_time_unittests to time_unittests.
BUG=77962
TEST=base_unittests:TimeTest.*
Review URL: http://codereview.chromium.org/7492063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95207 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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/http/http_response_headers_unittest.cc b/net/http/http_response_headers_unittest.cc index 483667c..4848510 100644 --- a/net/http/http_response_headers_unittest.cc +++ b/net/http/http_response_headers_unittest.cc @@ -812,9 +812,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); |