diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-25 02:25:06 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-25 02:25:06 +0000 |
commit | d8eb842474ce559113a9b0ead0610973985bf693 (patch) | |
tree | 817d637b7bfffa8bebe3d1de0af0aea05d72a8a7 /net/ftp/ftp_util_unittest.cc | |
parent | 928930d76cb018b8a496dbdf7166178ef8fab1bf (diff) | |
download | chromium_src-d8eb842474ce559113a9b0ead0610973985bf693.zip chromium_src-d8eb842474ce559113a9b0ead0610973985bf693.tar.gz chromium_src-d8eb842474ce559113a9b0ead0610973985bf693.tar.bz2 |
net: Append base:: in the StringPrintf calls.
(Note: This is a TODO in string_util.h)
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/3390026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp/ftp_util_unittest.cc')
-rw-r--r-- | net/ftp/ftp_util_unittest.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/net/ftp/ftp_util_unittest.cc b/net/ftp/ftp_util_unittest.cc index 20450c2..98ae975 100644 --- a/net/ftp/ftp_util_unittest.cc +++ b/net/ftp/ftp_util_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -7,8 +7,9 @@ #include "base/basictypes.h" #include "base/format_macros.h" #include "base/string_util.h" -#include "base/utf_string_conversions.h" +#include "base/stringprintf.h" #include "base/time.h" +#include "base/utf_string_conversions.h" #include "testing/gtest/include/gtest/gtest.h" namespace { @@ -140,9 +141,9 @@ TEST(FtpUtilTest, LsDateListingToTime) { { "Dec", "06", "21:00", 1993, 12, 6, 21, 0 }, }; for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); i++) { - SCOPED_TRACE(StringPrintf("Test[%" PRIuS "]: %s %s %s", i, - kTestCases[i].month, kTestCases[i].day, - kTestCases[i].rest)); + SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s %s %s", i, + kTestCases[i].month, kTestCases[i].day, + kTestCases[i].rest)); base::Time time; ASSERT_TRUE(net::FtpUtil::LsDateListingToTime( @@ -179,8 +180,8 @@ TEST(FtpUtilTest, GetStringPartAfterColumns) { { " foo abc ", 2, "" }, }; for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); i++) { - SCOPED_TRACE(StringPrintf("Test[%" PRIuS "]: %s %d", - i, kTestCases[i].text, kTestCases[i].column)); + SCOPED_TRACE(base::StringPrintf("Test[%" PRIuS "]: %s %d", i, + kTestCases[i].text, kTestCases[i].column)); EXPECT_EQ(ASCIIToUTF16(kTestCases[i].expected_result), net::FtpUtil::GetStringPartAfterColumns( |