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
879328f3
Commit
879328f3
authored
May 11, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
May 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Make checks in test_LoadImageFile and test_LoadImage more comprehensive.
parent
d6b23f44
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cursoricon.c
dlls/user32/tests/cursoricon.c
+2
-2
No files found.
dlls/user32/tests/cursoricon.c
View file @
879328f3
...
...
@@ -762,7 +762,7 @@ static void test_LoadImageFile(const unsigned char * image_data,
FILE_ATTRIBUTE_NORMAL
,
NULL
);
ok
(
handle
!=
INVALID_HANDLE_VALUE
,
"CreateFileA failed. %u
\n
"
,
GetLastError
());
ret
=
WriteFile
(
handle
,
image_data
,
image_size
,
&
bytes_written
,
NULL
);
ok
(
bytes_written
==
image_size
,
"test file created improperly.
\n
"
);
ok
(
ret
&&
bytes_written
==
image_size
,
"test file created improperly.
\n
"
);
CloseHandle
(
handle
);
/* Load as cursor. For all tested formats, this should fail */
...
...
@@ -852,7 +852,7 @@ static void test_LoadImage(void)
FILE_ATTRIBUTE_NORMAL
,
NULL
);
ok
(
handle
!=
INVALID_HANDLE_VALUE
,
"CreateFileA failed. %u
\n
"
,
GetLastError
());
ret
=
WriteFile
(
handle
,
icon_data
,
ICON_SIZE
,
&
bytes_written
,
NULL
);
ok
(
bytes_written
==
ICON_SIZE
,
"icon.ico created improperly.
\n
"
);
ok
(
ret
&&
bytes_written
==
ICON_SIZE
,
"icon.ico created improperly.
\n
"
);
CloseHandle
(
handle
);
/* Test loading an icon as a cursor. */
...
...
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