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
87cf6b36
Commit
87cf6b36
authored
Sep 11, 2009
by
Ge van Geldorp
Committed by
Alexandre Julliard
Sep 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Fix tests on Win7.
parent
ecd17659
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
ordinal.c
dlls/shlwapi/tests/ordinal.c
+12
-0
No files found.
dlls/shlwapi/tests/ordinal.c
View file @
87cf6b36
...
...
@@ -133,6 +133,12 @@ static void test_GetAcceptLanguagesA(void)
ok
(
buffersize2
==
strlen
(
buffer
),
"buffer content (length) wrong: got %08x, expected %08x
\n
"
,
lstrlenA
(
buffer
),
buffersize2
);
break
;
case
__HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
):
/* Win7 */
ok
(
buffersize
==
0
,
"buffersize wrong: got %08x, expected 0 (2nd parameter;Win2k)
\n
"
,
buffersize
);
ok
(
ERROR_INSUFFICIENT_BUFFER
==
GetLastError
(),
"last error wrong: got %u; expected ERROR_INSUFFICIENT_BUFFER
\n
"
,
GetLastError
());
break
;
default:
ok
(
0
,
"retval %08x, size %08x, buffer (%s), last error %u
\n
"
,
retval
,
buffersize
,
buffer
,
GetLastError
());
...
...
@@ -163,6 +169,12 @@ static void test_GetAcceptLanguagesA(void)
ok
(
buffersize2
==
strlen
(
buffer
),
"buffer content (length) wrong: got %08x, expected %08x
\n
"
,
lstrlenA
(
buffer
),
buffersize2
);
break
;
case
__HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
):
/* Win 7 */
ok
(
buffersize
==
0
,
"buffersize wrong: got %08x, expected 0 (2nd parameter;Win2k)
\n
"
,
buffersize
);
ok
(
ERROR_INSUFFICIENT_BUFFER
==
GetLastError
(),
"last error wrong: got %u; expected ERROR_INSUFFICIENT_BUFFER
\n
"
,
GetLastError
());
break
;
default:
ok
(
0
,
"retval %08x, size %08x, buffer (%s), last error %u
\n
"
,
retval
,
buffersize
,
buffer
,
GetLastError
());
...
...
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