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() );
|
ok( !ret, "EnumColorProfilesA() succeeded (%d)\n", GetLastError() );
|
||||||
|
|
||||||
ret = pEnumColorProfilesA( NULL, &record, buffer, &size, &number );
|
ret = pEnumColorProfilesA( NULL, &record, buffer, &size, &number );
|
||||||
if (have_color_profile)
|
todo_wine_if (!have_color_profile)
|
||||||
ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
|
ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
|
||||||
else
|
|
||||||
todo_wine ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
|
|
||||||
|
|
||||||
size = 0;
|
size = 0;
|
||||||
|
|
||||||
|
@ -689,10 +687,8 @@ static void test_EnumColorProfilesA( char *standardprofile )
|
||||||
|
|
||||||
size = total;
|
size = total;
|
||||||
ret = pEnumColorProfilesA( NULL, &record, buffer, &size, &number );
|
ret = pEnumColorProfilesA( NULL, &record, buffer, &size, &number );
|
||||||
if (have_color_profile)
|
todo_wine_if (!have_color_profile)
|
||||||
ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
|
ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
|
||||||
else
|
|
||||||
todo_wine ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
|
|
||||||
|
|
||||||
HeapFree( GetProcessHeap(), 0, buffer );
|
HeapFree( GetProcessHeap(), 0, buffer );
|
||||||
}
|
}
|
||||||
|
@ -729,10 +725,8 @@ static void test_EnumColorProfilesW( WCHAR *standardprofileW )
|
||||||
ok( !ret, "EnumColorProfilesW() succeeded (%d)\n", GetLastError() );
|
ok( !ret, "EnumColorProfilesW() succeeded (%d)\n", GetLastError() );
|
||||||
|
|
||||||
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
|
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
|
||||||
if (have_color_profile)
|
todo_wine_if (!have_color_profile)
|
||||||
ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
|
ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
|
||||||
else
|
|
||||||
todo_wine ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
|
|
||||||
|
|
||||||
size = 0;
|
size = 0;
|
||||||
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
|
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
|
||||||
|
@ -742,10 +736,8 @@ static void test_EnumColorProfilesW( WCHAR *standardprofileW )
|
||||||
|
|
||||||
size = total;
|
size = total;
|
||||||
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
|
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
|
||||||
if (have_color_profile)
|
todo_wine_if (!have_color_profile)
|
||||||
ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
|
ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
|
||||||
else
|
|
||||||
todo_wine ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
|
|
||||||
|
|
||||||
HeapFree( GetProcessHeap(), 0, buffer );
|
HeapFree( GetProcessHeap(), 0, buffer );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue