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
a4a7ab8e
Commit
a4a7ab8e
authored
Mar 15, 2022
by
Daniel Lehman
Committed by
Alexandre Julliard
Mar 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Add test for FileTimeToSystemTime.
Signed-off-by:
Daniel Lehman
<
dlehman@esri.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a23ad981
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
time.c
dlls/kernel32/tests/time.c
+10
-0
No files found.
dlls/kernel32/tests/time.c
View file @
a4a7ab8e
...
...
@@ -395,6 +395,16 @@ static void test_FileTimeToSystemTime(void)
"Got Year %4d Month %2d Day %2d Hour %2d Min %2d Sec %2d mSec %3d
\n
"
,
st
.
wYear
,
st
.
wMonth
,
st
.
wDay
,
st
.
wHour
,
st
.
wMinute
,
st
.
wSecond
,
st
.
wMilliseconds
);
ft
.
dwHighDateTime
=
-
1
;
ft
.
dwLowDateTime
=
-
1
;
SetLastError
(
0xdeadbeef
);
ret
=
FileTimeToSystemTime
(
&
ft
,
&
st
);
todo_wine
{
ok
(
!
ret
,
"expected failure
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"expected ERROR_INVALID_PARAMETER, got %ld
\n
"
,
GetLastError
());
}
}
static
void
test_FileTimeToLocalFileTime
(
void
)
...
...
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