mscms/tests: The tests shouldn't fail if we have some ICM files.
This commit is contained in:
parent
00609d5e78
commit
5ddcb2c1d3
|
@ -803,8 +803,10 @@ static void test_EnumColorProfilesA(void)
|
|||
ok( !ret, "EnumColorProfilesA() succeeded (%d)\n", GetLastError() );
|
||||
|
||||
ret = pEnumColorProfilesA( NULL, &record, buffer, &size, &number );
|
||||
todo_wine
|
||||
if (standardprofile)
|
||||
ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
|
||||
else
|
||||
todo_wine ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
|
||||
|
||||
size = 0;
|
||||
|
||||
|
@ -815,8 +817,10 @@ static void test_EnumColorProfilesA(void)
|
|||
|
||||
size = total;
|
||||
ret = pEnumColorProfilesA( NULL, &record, buffer, &size, &number );
|
||||
todo_wine
|
||||
if (standardprofile)
|
||||
ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
|
||||
else
|
||||
todo_wine ok( ret, "EnumColorProfilesA() failed (%d)\n", GetLastError() );
|
||||
|
||||
HeapFree( GetProcessHeap(), 0, buffer );
|
||||
}
|
||||
|
@ -853,8 +857,10 @@ static void test_EnumColorProfilesW(void)
|
|||
ok( !ret, "EnumColorProfilesW() succeeded (%d)\n", GetLastError() );
|
||||
|
||||
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
|
||||
todo_wine
|
||||
if (standardprofileW)
|
||||
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 );
|
||||
|
@ -864,8 +870,10 @@ static void test_EnumColorProfilesW(void)
|
|||
|
||||
size = total;
|
||||
ret = pEnumColorProfilesW( NULL, &record, buffer, &size, &number );
|
||||
todo_wine
|
||||
if (standardprofileW)
|
||||
ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
|
||||
else
|
||||
todo_wine ok( ret, "EnumColorProfilesW() failed (%d)\n", GetLastError() );
|
||||
|
||||
HeapFree( GetProcessHeap(), 0, buffer );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue