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
7c1e0ef7
Commit
7c1e0ef7
authored
Mar 05, 2019
by
Brendan McGrath
Committed by
Alexandre Julliard
Mar 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Length of sort keys must be equal with and without dest.
Signed-off-by:
Brendan McGrath
<
brendan@redmandi.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a33b20a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
locale.c
dlls/kernel32/tests/locale.c
+7
-0
No files found.
dlls/kernel32/tests/locale.c
View file @
7c1e0ef7
...
@@ -2362,6 +2362,13 @@ static void test_LCMapStringA(void)
...
@@ -2362,6 +2362,13 @@ static void test_LCMapStringA(void)
ok
(
ret
==
ret2
,
"lengths of sort keys must be equal
\n
"
);
ok
(
ret
==
ret2
,
"lengths of sort keys must be equal
\n
"
);
ok
(
!
lstrcmpA
(
buf
,
buf2
),
"sort keys must be equal
\n
"
);
ok
(
!
lstrcmpA
(
buf
,
buf2
),
"sort keys must be equal
\n
"
);
/* test we get the same length when no dest buffer is provided */
ret2
=
LCMapStringA
(
LOCALE_USER_DEFAULT
,
LCMAP_SORTKEY
,
upper_case
,
lstrlenA
(
upper_case
),
NULL
,
0
);
ok
(
ret2
,
"LCMapStringA must succeed
\n
"
);
todo_wine
ok
(
ret
==
ret2
,
"lengths of sort keys must be equal (%d vs %d)
\n
"
,
ret
,
ret2
);
/* test LCMAP_SORTKEY | NORM_IGNORECASE */
/* test LCMAP_SORTKEY | NORM_IGNORECASE */
ret
=
LCMapStringA
(
LOCALE_USER_DEFAULT
,
LCMAP_SORTKEY
|
NORM_IGNORECASE
,
ret
=
LCMapStringA
(
LOCALE_USER_DEFAULT
,
LCMAP_SORTKEY
|
NORM_IGNORECASE
,
upper_case
,
-
1
,
buf
,
sizeof
(
buf
));
upper_case
,
-
1
,
buf
,
sizeof
(
buf
));
...
...
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