Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a5bc81eb
Commit
a5bc81eb
authored
Dec 09, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Enable some more string API tests.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d37a2c86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
rtlstr.c
dlls/ntdll/tests/rtlstr.c
+4
-2
No files found.
dlls/ntdll/tests/rtlstr.c
View file @
a5bc81eb
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment