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
6ef5ae80
Commit
6ef5ae80
authored
Feb 17, 2016
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Feb 18, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscms/tests: Use todo_wine_if() in tests.
Signed-off-by:
Frédéric Delanoy
<
frederic.delanoy@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5da69565
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
profile.c
dlls/mscms/tests/profile.c
+4
-12
No files found.
dlls/mscms/tests/profile.c
View file @
6ef5ae80
...
...
@@ -675,10 +675,8 @@ static void test_EnumColorProfilesA( char *standardprofile )
ok
(
!
ret
,
"EnumColorProfilesA() succeeded (%d)
\n
"
,
GetLastError
()
);
ret
=
pEnumColorProfilesA
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
if
(
have_color_profile
)
todo_wine_if
(
!
have_color_profile
)
ok
(
ret
,
"EnumColorProfilesA() failed (%d)
\n
"
,
GetLastError
()
);
else
todo_wine
ok
(
ret
,
"EnumColorProfilesA() failed (%d)
\n
"
,
GetLastError
()
);
size
=
0
;
...
...
@@ -689,10 +687,8 @@ static void test_EnumColorProfilesA( char *standardprofile )
size
=
total
;
ret
=
pEnumColorProfilesA
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
if
(
have_color_profile
)
todo_wine_if
(
!
have_color_profile
)
ok
(
ret
,
"EnumColorProfilesA() failed (%d)
\n
"
,
GetLastError
()
);
else
todo_wine
ok
(
ret
,
"EnumColorProfilesA() failed (%d)
\n
"
,
GetLastError
()
);
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
}
...
...
@@ -729,10 +725,8 @@ static void test_EnumColorProfilesW( WCHAR *standardprofileW )
ok
(
!
ret
,
"EnumColorProfilesW() succeeded (%d)
\n
"
,
GetLastError
()
);
ret
=
pEnumColorProfilesW
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
if
(
have_color_profile
)
todo_wine_if
(
!
have_color_profile
)
ok
(
ret
,
"EnumColorProfilesW() failed (%d)
\n
"
,
GetLastError
()
);
else
todo_wine
ok
(
ret
,
"EnumColorProfilesW() failed (%d)
\n
"
,
GetLastError
()
);
size
=
0
;
ret
=
pEnumColorProfilesW
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
...
...
@@ -742,10 +736,8 @@ static void test_EnumColorProfilesW( WCHAR *standardprofileW )
size
=
total
;
ret
=
pEnumColorProfilesW
(
NULL
,
&
record
,
buffer
,
&
size
,
&
number
);
if
(
have_color_profile
)
todo_wine_if
(
!
have_color_profile
)
ok
(
ret
,
"EnumColorProfilesW() failed (%d)
\n
"
,
GetLastError
()
);
else
todo_wine
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