mscms: Test only one invalid GetStandardColorSpaceProfile() param in a
single check.
This commit is contained in:
parent
b6c4beda58
commit
975ffe8abc
|
@ -460,6 +460,19 @@ static void test_GetStandardColorSpaceProfileA(void)
|
|||
|
||||
/* Parameter checks */
|
||||
|
||||
/* Single invalid parameter checks */
|
||||
todo_wine
|
||||
fail_GSCSPA(machine, SPACE_RGB, newprofile, &size, sizeP, (GLE == ERROR_NOT_SUPPORTED));
|
||||
todo_wine
|
||||
fail_GSCSPA(NULL, (DWORD)-1, newprofile, &size, sizeP, (GLE == ERROR_FILE_NOT_FOUND));
|
||||
todo_wine
|
||||
fail_GSCSPA(NULL, SPACE_RGB, NULL, &size, sizeP, (GLE == ERROR_INSUFFICIENT_BUFFER));
|
||||
todo_wine
|
||||
fail_GSCSPA(NULL, SPACE_RGB, newprofile, NULL, sizeP, (GLE == ERROR_INVALID_PARAMETER));
|
||||
todo_wine
|
||||
fail_GSCSPA(NULL, SPACE_RGB, newprofile, &size, 0, (GLE == ERROR_MORE_DATA || GLE == ERROR_INSUFFICIENT_BUFFER));
|
||||
|
||||
/* Several invalid parameter checks */
|
||||
todo_wine
|
||||
fail_GSCSPA(machine, 0, newprofile, &size, 0, (GLE == ERROR_INVALID_PARAMETER || GLE == ERROR_NOT_SUPPORTED));
|
||||
todo_wine
|
||||
|
@ -514,6 +527,19 @@ static void test_GetStandardColorSpaceProfileW(void)
|
|||
|
||||
/* Parameter checks */
|
||||
|
||||
/* Single invalid parameter checks */
|
||||
todo_wine
|
||||
fail_GSCSPW(machineW, SPACE_RGB, newprofile, &size, sizeP, (GLE == ERROR_NOT_SUPPORTED));
|
||||
todo_wine
|
||||
fail_GSCSPW(NULL, (DWORD)-1, newprofile, &size, sizeP, (GLE == ERROR_FILE_NOT_FOUND));
|
||||
todo_wine
|
||||
fail_GSCSPW(NULL, SPACE_RGB, NULL, &size, sizeP, (GLE == ERROR_INSUFFICIENT_BUFFER));
|
||||
todo_wine
|
||||
fail_GSCSPW(NULL, SPACE_RGB, newprofile, NULL, sizeP, (GLE == ERROR_INVALID_PARAMETER));
|
||||
todo_wine
|
||||
fail_GSCSPW(NULL, SPACE_RGB, newprofile, &size, 0, (GLE == ERROR_MORE_DATA || GLE == ERROR_INSUFFICIENT_BUFFER));
|
||||
|
||||
/* Several invalid parameter checks */
|
||||
todo_wine
|
||||
fail_GSCSPW(machineW, 0, newprofile, &size, 0, (GLE == ERROR_INVALID_PARAMETER || GLE == ERROR_NOT_SUPPORTED));
|
||||
todo_wine
|
||||
|
|
Loading…
Reference in New Issue