mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:50:37 +00:00
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>
This commit is contained in:
parent
5da69565b5
commit
6ef5ae801d
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue