diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-09 00:38:41 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-09 00:38:41 +0000 |
commit | 379e7a5a9b6934dca457eb3eaeb66a05a8946a8a (patch) | |
tree | 7fb61b6338cab5433fdf57517d9e56f23dac881c /base/sys_string_conversions_unittest.cc | |
parent | 0ef51cc6d25951d6dbaf4d8036d00b3316059ce9 (diff) | |
download | chromium_src-379e7a5a9b6934dca457eb3eaeb66a05a8946a8a.zip chromium_src-379e7a5a9b6934dca457eb3eaeb66a05a8946a8a.tar.gz chromium_src-379e7a5a9b6934dca457eb3eaeb66a05a8946a8a.tar.bz2 |
base: string_util.h -> utf_string_conversions.h fix.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/678001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40972 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/sys_string_conversions_unittest.cc')
-rw-r--r-- | base/sys_string_conversions_unittest.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/base/sys_string_conversions_unittest.cc b/base/sys_string_conversions_unittest.cc index dd94258..708da09 100644 --- a/base/sys_string_conversions_unittest.cc +++ b/base/sys_string_conversions_unittest.cc @@ -8,7 +8,7 @@ #include "base/basictypes.h" #include "base/string_piece.h" -#include "base/string_util.h" +#include "base/utf_string_conversions.h" #include "base/sys_string_conversions.h" #include "testing/gtest/include/gtest/gtest.h" @@ -32,8 +32,8 @@ TEST(SysStrings, SysWideToUTF8) { // // This is what XP does, but Vista has different behavior, so we don't bother // verifying it: - //EXPECT_EQ("\xE4\xBD\xA0\xED\xA0\x80zyxw", - // SysWideToUTF8(L"\x4f60\xd800zyxw")); + // EXPECT_EQ("\xE4\xBD\xA0\xED\xA0\x80zyxw", + // SysWideToUTF8(L"\x4f60\xd800zyxw")); // Test embedded NULLs. std::wstring wide_null(L"a"); @@ -59,7 +59,7 @@ TEST(SysStrings, SysUTF8ToWide) { // // This is what XP does, but Vista has different behavior, so we don't bother // verifying it: - //EXPECT_EQ(L"\x4f60zyxw", SysUTF8ToWide("\xe4\xbd\xa0\xe5\xa5zyxw")); + // EXPECT_EQ(L"\x4f60zyxw", SysUTF8ToWide("\xe4\xbd\xa0\xe5\xa5zyxw")); // Test embedded NULLs. std::string utf8_null("a"); @@ -107,8 +107,8 @@ TEST(SysStrings, SysWideToNativeMB) { // // This is what XP does, but Vista has different behavior, so we don't bother // verifying it: - //EXPECT_EQ("\xE4\xBD\xA0\xED\xA0\x80zyxw", - // SysWideToNativeMB(L"\x4f60\xd800zyxw")); + // EXPECT_EQ("\xE4\xBD\xA0\xED\xA0\x80zyxw", + // SysWideToNativeMB(L"\x4f60\xd800zyxw")); // Test embedded NULLs. std::wstring wide_null(L"a"); @@ -136,7 +136,7 @@ TEST(SysStrings, SysNativeMBToWide) { // // This is what XP does, but Vista has different behavior, so we don't bother // verifying it: - //EXPECT_EQ(L"\x4f60zyxw", SysNativeMBToWide("\xe4\xbd\xa0\xe5\xa5zyxw")); + // EXPECT_EQ(L"\x4f60zyxw", SysNativeMBToWide("\xe4\xbd\xa0\xe5\xa5zyxw")); // Test embedded NULLs. std::string utf8_null("a"); |