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
ea41e863
Commit
ea41e863
authored
Feb 04, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Feb 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Factor out the VerifyVersionInfo tests into their own function.
parent
571a383d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
version.c
dlls/kernel32/tests/version.c
+9
-6
No files found.
dlls/kernel32/tests/version.c
View file @
ea41e863
...
...
@@ -89,18 +89,13 @@ static void test_GetVersionEx(void)
ok
(
ret
,
"Expected GetVersionExA to succeed
\n
"
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"Expected 0xdeadbeef, got %d
\n
"
,
GetLastError
());
}
START_TEST
(
version
)
static
void
test_VerifyVersionInfo
(
void
)
{
OSVERSIONINFOEX
info
=
{
sizeof
(
info
)
};
BOOL
ret
;
init_function_pointers
();
test_GetVersionEx
();
if
(
!
pVerifyVersionInfoA
||
!
pVerSetConditionMask
)
{
skip
(
"Needed functions not available
\n
"
);
...
...
@@ -237,3 +232,11 @@ START_TEST(version)
pVerSetConditionMask
(
0
,
VER_MAJORVERSION
,
VER_GREATER_EQUAL
));
ok
(
ret
,
"VerifyVersionInfoA failed with error %d
\n
"
,
GetLastError
());
}
START_TEST
(
version
)
{
init_function_pointers
();
test_GetVersionEx
();
test_VerifyVersionInfo
();
}
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