Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: third_party/WebKit/Source/platform/wtf/text/WTFStringTest.cpp

Issue 2813533003: Add "Unicode" suffixes to some functions of WTF::String and WTF::StringImpl. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/text/WTFString.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/wtf/text/WTFStringTest.cpp
diff --git a/third_party/WebKit/Source/platform/wtf/text/WTFStringTest.cpp b/third_party/WebKit/Source/platform/wtf/text/WTFStringTest.cpp
index 3c834adef2b2e5b42948718cc60aba8bbf4491e8..2748761739c3d26206f58daa928f07067dbfad61 100644
--- a/third_party/WebKit/Source/platform/wtf/text/WTFStringTest.cpp
+++ b/third_party/WebKit/Source/platform/wtf/text/WTFStringTest.cpp
@@ -275,7 +275,7 @@ TEST(StringTest, ToUpperLocale) {
String source = String::FromUTF8(test_data_list[i].source);
for (size_t j = 0; j < test_data_list[i].locale_list_length; ++j) {
const char* locale = test_data_list[i].locale_list[j];
- EXPECT_STREQ(expected, source.Upper(locale).Utf8().Data())
+ EXPECT_STREQ(expected, source.UpperUnicode(locale).Utf8().Data())
<< test_data_list[i].source_description << "; locale=" << locale;
}
}
@@ -335,7 +335,7 @@ TEST(StringTest, ToLowerLocale) {
String source = String::FromUTF8(test_data_list[i].source);
for (size_t j = 0; j < test_data_list[i].locale_list_length; ++j) {
const char* locale = test_data_list[i].locale_list[j];
- EXPECT_STREQ(expected, source.Lower(locale).Utf8().Data())
+ EXPECT_STREQ(expected, source.LowerUnicode(locale).Utf8().Data())
<< test_data_list[i].source_description << "; locale=" << locale;
}
}
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/text/WTFString.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698