Nikolay Sivov : ntdll/tests: Enable some more string API tests.

Alexandre Julliard julliard at winehq.org
Mon Dec 9 16:57:36 CST 2019


Module: wine
Branch: master
Commit: a5bc81ebe55ad9cef8fdc41718608c7aa6da9d53
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a5bc81ebe55ad9cef8fdc41718608c7aa6da9d53

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Dec  9 11:07:22 2019 +0300

ntdll/tests: Enable some more string API tests.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/tests/rtlstr.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/tests/rtlstr.c b/dlls/ntdll/tests/rtlstr.c
index 6f59e956c2..d2091859b8 100644
--- a/dlls/ntdll/tests/rtlstr.c
+++ b/dlls/ntdll/tests/rtlstr.c
@@ -597,6 +597,7 @@ static void test_RtlUpcaseUnicodeChar(void)
 	} else {
 	    expected_upper_ch = ch;
 	}
+todo_wine_if(ch == 0xb5)
 	ok(upper_ch == expected_upper_ch,
 	   "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);
@@ -646,6 +647,7 @@ static void test_RtlUpcaseUnicodeString(void)
 
     pRtlUpcaseUnicodeString(&result_str, &ascii_str, 0);
     for (i = 0; i <= 255; i++) {
+todo_wine_if(ascii_str.Buffer[i] == 0xb5)
 	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",
 	   ascii_str.Buffer[i], ascii_str.Buffer[i],
@@ -2615,10 +2617,10 @@ START_TEST(rtlstr)
     test_RtlStringFromGUID();
     test_RtlIsTextUnicode();
     test_RtlCompareUnicodeString();
+    test_RtlUpcaseUnicodeChar();
+    test_RtlUpcaseUnicodeString();
     if(0)
     {
-	test_RtlUpcaseUnicodeChar();
-	test_RtlUpcaseUnicodeString();
 	test_RtlDowncaseUnicodeString();
     }
     test_RtlHashUnicodeString();




More information about the wine-cvs mailing list