Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
1e74b21f
Commit
1e74b21f
authored
May 18, 2009
by
Andrew Nguyen
Committed by
Alexandre Julliard
May 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Correctly skip when Unicode locale functions are not available.
parent
38f7d54f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
locale.c
dlls/kernel32/tests/locale.c
+8
-2
No files found.
dlls/kernel32/tests/locale.c
View file @
1e74b21f
...
...
@@ -432,7 +432,10 @@ static void test_GetDateFormatW(void)
ret
=
GetDateFormatW
(
LOCALE_SYSTEM_DEFAULT
,
DATE_LONGDATE
,
NULL
,
input
,
buffer
,
COUNTOF
(
buffer
));
if
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
return
;
{
win_skip
(
"GetDateFormatW is not implemented
\n
"
);
return
;
}
ok
(
!
ret
&&
GetLastError
()
==
ERROR_INVALID_FLAGS
,
"Expected ERROR_INVALID_FLAGS, got %d
\n
"
,
GetLastError
());
EXPECT_EQW
;
...
...
@@ -1631,8 +1634,11 @@ static void test_FoldStringA(void)
/* MAP_FOLDDIGITS */
SetLastError
(
0
);
ret
=
pFoldStringA
(
MAP_FOLDDIGITS
,
digits_src
,
-
1
,
dst
,
256
);
if
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
if
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
win_skip
(
"FoldStringA is not implemented
\n
"
);
return
;
}
ok
(
ret
==
4
,
"Expected ret == 4, got %d, error %d
\n
"
,
ret
,
GetLastError
());
ok
(
strcmp
(
dst
,
digits_dst
)
==
0
,
"MAP_FOLDDIGITS: Expected '%s', got '%s'
\n
"
,
digits_dst
,
dst
);
...
...
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