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
975ffe8a
Commit
975ffe8a
authored
Dec 21, 2005
by
Saulius Krasuckas
Committed by
Alexandre Julliard
Dec 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscms: Test only one invalid GetStandardColorSpaceProfile() param in a
single check.
parent
b6c4beda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
profile.c
dlls/mscms/tests/profile.c
+26
-0
No files found.
dlls/mscms/tests/profile.c
View file @
975ffe8a
...
...
@@ -460,6 +460,19 @@ static void test_GetStandardColorSpaceProfileA(void)
/* Parameter checks */
/* Single invalid parameter checks */
todo_wine
fail_GSCSPA
(
machine
,
SPACE_RGB
,
newprofile
,
&
size
,
sizeP
,
(
GLE
==
ERROR_NOT_SUPPORTED
));
todo_wine
fail_GSCSPA
(
NULL
,
(
DWORD
)
-
1
,
newprofile
,
&
size
,
sizeP
,
(
GLE
==
ERROR_FILE_NOT_FOUND
));
todo_wine
fail_GSCSPA
(
NULL
,
SPACE_RGB
,
NULL
,
&
size
,
sizeP
,
(
GLE
==
ERROR_INSUFFICIENT_BUFFER
));
todo_wine
fail_GSCSPA
(
NULL
,
SPACE_RGB
,
newprofile
,
NULL
,
sizeP
,
(
GLE
==
ERROR_INVALID_PARAMETER
));
todo_wine
fail_GSCSPA
(
NULL
,
SPACE_RGB
,
newprofile
,
&
size
,
0
,
(
GLE
==
ERROR_MORE_DATA
||
GLE
==
ERROR_INSUFFICIENT_BUFFER
));
/* Several invalid parameter checks */
todo_wine
fail_GSCSPA
(
machine
,
0
,
newprofile
,
&
size
,
0
,
(
GLE
==
ERROR_INVALID_PARAMETER
||
GLE
==
ERROR_NOT_SUPPORTED
));
todo_wine
...
...
@@ -514,6 +527,19 @@ static void test_GetStandardColorSpaceProfileW(void)
/* Parameter checks */
/* Single invalid parameter checks */
todo_wine
fail_GSCSPW
(
machineW
,
SPACE_RGB
,
newprofile
,
&
size
,
sizeP
,
(
GLE
==
ERROR_NOT_SUPPORTED
));
todo_wine
fail_GSCSPW
(
NULL
,
(
DWORD
)
-
1
,
newprofile
,
&
size
,
sizeP
,
(
GLE
==
ERROR_FILE_NOT_FOUND
));
todo_wine
fail_GSCSPW
(
NULL
,
SPACE_RGB
,
NULL
,
&
size
,
sizeP
,
(
GLE
==
ERROR_INSUFFICIENT_BUFFER
));
todo_wine
fail_GSCSPW
(
NULL
,
SPACE_RGB
,
newprofile
,
NULL
,
sizeP
,
(
GLE
==
ERROR_INVALID_PARAMETER
));
todo_wine
fail_GSCSPW
(
NULL
,
SPACE_RGB
,
newprofile
,
&
size
,
0
,
(
GLE
==
ERROR_MORE_DATA
||
GLE
==
ERROR_INSUFFICIENT_BUFFER
));
/* Several invalid parameter checks */
todo_wine
fail_GSCSPW
(
machineW
,
0
,
newprofile
,
&
size
,
0
,
(
GLE
==
ERROR_INVALID_PARAMETER
||
GLE
==
ERROR_NOT_SUPPORTED
));
todo_wine
...
...
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