rpcrt4/tests: Use status definitions instead of numeric values.
This commit is contained in:
parent
5cd6db0349
commit
fd25d9aadb
|
@ -665,7 +665,7 @@ static void test_I_RpcExceptionFilter(void)
|
||||||
|
|
||||||
if (!pI_RpcExceptionFilter)
|
if (!pI_RpcExceptionFilter)
|
||||||
{
|
{
|
||||||
skip("I_RpcExceptionFilter not exported\n");
|
win_skip("I_RpcExceptionFilter not exported\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -684,9 +684,9 @@ static void test_I_RpcExceptionFilter(void)
|
||||||
case STATUS_ACCESS_VIOLATION:
|
case STATUS_ACCESS_VIOLATION:
|
||||||
case STATUS_ILLEGAL_INSTRUCTION:
|
case STATUS_ILLEGAL_INSTRUCTION:
|
||||||
case STATUS_PRIVILEGED_INSTRUCTION:
|
case STATUS_PRIVILEGED_INSTRUCTION:
|
||||||
case 0xc00000aa /* STATUS_INSTRUCTION_MISALIGNMENT */:
|
case STATUS_INSTRUCTION_MISALIGNMENT:
|
||||||
case STATUS_STACK_OVERFLOW:
|
case STATUS_STACK_OVERFLOW:
|
||||||
case 0xc0000194 /* STATUS_POSSIBLE_DEADLOCK */:
|
case STATUS_POSSIBLE_DEADLOCK:
|
||||||
ok(retval == EXCEPTION_CONTINUE_SEARCH, "I_RpcExceptionFilter(0x%x) should have returned %d instead of %d\n",
|
ok(retval == EXCEPTION_CONTINUE_SEARCH, "I_RpcExceptionFilter(0x%x) should have returned %d instead of %d\n",
|
||||||
exception, EXCEPTION_CONTINUE_SEARCH, retval);
|
exception, EXCEPTION_CONTINUE_SEARCH, retval);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue