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

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

Issue 2821633002: Remove WTF::String::DeprecatedUpper() (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
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 2748761739c3d26206f58daa928f07067dbfad61..a65d1f4adeacb05c55aed105bff05e8aafaca542 100644
--- a/third_party/WebKit/Source/platform/wtf/text/WTFStringTest.cpp
+++ b/third_party/WebKit/Source/platform/wtf/text/WTFStringTest.cpp
@@ -443,14 +443,6 @@ TEST(StringTest, DeprecatedLower) {
String::FromUTF8("LIN\xE2\x84\xAA").DeprecatedLower().Utf8().Data());
}
-TEST(StringTest, DeprecatedUpper) {
- EXPECT_STREQ("CROSS", String("cross").DeprecatedUpper().Utf8().Data());
- // U+017F -> S
- EXPECT_STREQ(
- "CROSS",
- String::FromUTF8("cro\xC5\xBFs").DeprecatedUpper().Utf8().Data());
-}
-
TEST(StringTest, Ensure16Bit) {
String string8("8bit");
EXPECT_TRUE(string8.Is8Bit());
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/text/WTFString.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698