Commit a5bc81eb authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

ntdll/tests: Enable some more string API tests.

parent d37a2c86
...@@ -597,6 +597,7 @@ static void test_RtlUpcaseUnicodeChar(void) ...@@ -597,6 +597,7 @@ static void test_RtlUpcaseUnicodeChar(void)
} else { } else {
expected_upper_ch = ch; expected_upper_ch = ch;
} }
todo_wine_if(ch == 0xb5)
ok(upper_ch == expected_upper_ch, ok(upper_ch == expected_upper_ch,
"RtlUpcaseUnicodeChar('%c'[=0x%x]) has result '%c'[=0x%x], expected: '%c'[=0x%x]\n", "RtlUpcaseUnicodeChar('%c'[=0x%x]) has result '%c'[=0x%x], expected: '%c'[=0x%x]\n",
ch, ch, upper_ch, upper_ch, expected_upper_ch, expected_upper_ch); ch, ch, upper_ch, upper_ch, expected_upper_ch, expected_upper_ch);
...@@ -646,6 +647,7 @@ static void test_RtlUpcaseUnicodeString(void) ...@@ -646,6 +647,7 @@ static void test_RtlUpcaseUnicodeString(void)
pRtlUpcaseUnicodeString(&result_str, &ascii_str, 0); pRtlUpcaseUnicodeString(&result_str, &ascii_str, 0);
for (i = 0; i <= 255; i++) { for (i = 0; i <= 255; i++) {
todo_wine_if(ascii_str.Buffer[i] == 0xb5)
ok(result_str.Buffer[i] == upper_str.Buffer[i], ok(result_str.Buffer[i] == upper_str.Buffer[i],
"RtlUpcaseUnicodeString works wrong: '%c'[=0x%x] is converted to '%c'[=0x%x], expected: '%c'[=0x%x]\n", "RtlUpcaseUnicodeString works wrong: '%c'[=0x%x] is converted to '%c'[=0x%x], expected: '%c'[=0x%x]\n",
ascii_str.Buffer[i], ascii_str.Buffer[i], ascii_str.Buffer[i], ascii_str.Buffer[i],
...@@ -2615,10 +2617,10 @@ START_TEST(rtlstr) ...@@ -2615,10 +2617,10 @@ START_TEST(rtlstr)
test_RtlStringFromGUID(); test_RtlStringFromGUID();
test_RtlIsTextUnicode(); test_RtlIsTextUnicode();
test_RtlCompareUnicodeString(); test_RtlCompareUnicodeString();
test_RtlUpcaseUnicodeChar();
test_RtlUpcaseUnicodeString();
if(0) if(0)
{ {
test_RtlUpcaseUnicodeChar();
test_RtlUpcaseUnicodeString();
test_RtlDowncaseUnicodeString(); test_RtlDowncaseUnicodeString();
} }
test_RtlHashUnicodeString(); test_RtlHashUnicodeString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment