Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e6815085
Commit
e6815085
authored
Feb 13, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscms/tests: EnumColorProfiles() should not fail even if there are no ICM files…
mscms/tests: EnumColorProfiles() should not fail even if there are no ICM files in the 'color directory'.
parent
c627a81a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
23 deletions
+14
-23
profile.c
dlls/mscms/tests/profile.c
+14
-23
No files found.
dlls/mscms/tests/profile.c
View file @
e6815085
...
...
@@ -788,11 +788,9 @@ static void test_EnumColorProfilesA(void)
ret
=
pEnumColorProfilesA
(
NULL
,
&
record
,
buffer
,
NULL
,
&
number
);
ok
(
!
ret
,
"EnumColorProfilesA() succeeded (%d)
\n
"
,
GetLastError
()
);
if
(
standardprofile
)
{
ret
=
pEnumColorProfilesA
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
ok
(
ret
,
"EnumColorProfilesA() failed (%d)
\n
"
,
GetLastError
()
);
}
ret
=
pEnumColorProfilesA
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
todo_wine
ok
(
ret
,
"EnumColorProfilesA() failed (%d)
\n
"
,
GetLastError
()
);
size
=
0
;
...
...
@@ -801,13 +799,11 @@ static void test_EnumColorProfilesA(void)
/* Functional checks */
if
(
standardprofile
)
{
size
=
total
;
size
=
total
;
ret
=
pEnumColorProfilesA
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
todo_wine
ok
(
ret
,
"EnumColorProfilesA() failed (%d)
\n
"
,
GetLastError
()
);
ret
=
pEnumColorProfilesA
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
ok
(
ret
,
"EnumColorProfilesA() failed (%d)
\n
"
,
GetLastError
()
);
}
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
}
...
...
@@ -842,26 +838,21 @@ static void test_EnumColorProfilesW(void)
ret
=
pEnumColorProfilesW
(
NULL
,
&
record
,
buffer
,
NULL
,
&
number
);
ok
(
!
ret
,
"EnumColorProfilesW() succeeded (%d)
\n
"
,
GetLastError
()
);
if
(
standardprofileW
)
{
ret
=
pEnumColorProfilesW
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
ok
(
ret
,
"EnumColorProfilesW() failed (%d)
\n
"
,
GetLastError
()
);
}
ret
=
pEnumColorProfilesW
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
todo_wine
ok
(
ret
,
"EnumColorProfilesW() failed (%d)
\n
"
,
GetLastError
()
);
size
=
0
;
ret
=
pEnumColorProfilesW
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
ok
(
!
ret
,
"EnumColorProfilesW() succeeded (%d)
\n
"
,
GetLastError
()
);
/* Functional checks */
if
(
standardprofileW
)
{
size
=
total
;
size
=
total
;
ret
=
pEnumColorProfilesW
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
todo_wine
ok
(
ret
,
"EnumColorProfilesW() failed (%d)
\n
"
,
GetLastError
()
);
ret
=
pEnumColorProfilesW
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
ok
(
ret
,
"EnumColorProfilesW() failed (%d)
\n
"
,
GetLastError
()
);
}
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
}
...
...
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