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
e9ccee05
Commit
e9ccee05
authored
Feb 26, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Skip functions that are available but not implemented.
parent
ad697ecd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
icm.c
dlls/gdi32/tests/icm.c
+19
-0
No files found.
dlls/gdi32/tests/icm.c
View file @
e9ccee05
...
...
@@ -35,7 +35,13 @@ static void test_GetICMProfileA( HDC dc )
DWORD
size
,
error
;
char
filename
[
MAX_PATH
];
SetLastError
(
0xdeadbeef
);
ret
=
GetICMProfileA
(
NULL
,
NULL
,
NULL
);
if
(
!
ret
&&
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
)
{
skip
(
"GetICMProfileA is not implemented
\n
"
);
return
;
}
ok
(
!
ret
,
"GetICMProfileA succeeded
\n
"
);
ret
=
GetICMProfileA
(
dc
,
NULL
,
NULL
);
...
...
@@ -73,7 +79,13 @@ static void test_GetICMProfileW( HDC dc )
DWORD
size
,
error
;
WCHAR
filename
[
MAX_PATH
];
SetLastError
(
0xdeadbeef
);
ret
=
GetICMProfileW
(
NULL
,
NULL
,
NULL
);
if
(
!
ret
&&
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
)
{
skip
(
"GetICMProfileW is not implemented
\n
"
);
return
;
}
ok
(
!
ret
,
"GetICMProfileW succeeded
\n
"
);
ret
=
GetICMProfileW
(
dc
,
NULL
,
NULL
);
...
...
@@ -107,6 +119,7 @@ static void test_SetICMMode( HDC dc )
{
INT
ret
,
knob
,
save
;
SetLastError
(
0xdeadbeef
);
ret
=
SetICMMode
(
NULL
,
0
);
ok
(
!
ret
,
"SetICMMode succeeded (%d)
\n
"
,
GetLastError
()
);
...
...
@@ -127,7 +140,13 @@ static void test_SetICMMode( HDC dc )
ret
=
SetICMMode
(
dc
,
save
);
ok
(
ret
,
"SetICMMode failed (%d)
\n
"
,
GetLastError
()
);
SetLastError
(
0xdeadbeef
);
dc
=
CreateDCW
(
displayW
,
NULL
,
NULL
,
NULL
);
if
(
!
dc
&&
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
)
{
skip
(
"CreateDCW is not implemented
\n
"
);
return
;
}
ok
(
dc
!=
NULL
,
"CreateDCW failed (%d)
\n
"
,
GetLastError
()
);
ret
=
SetICMMode
(
dc
,
ICM_QUERY
);
...
...
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