Home
last modified time | relevance | path

Searched refs:ExpectedStatus (Results 1 – 16 of 16) sorted by relevance

/reactos/modules/rostests/apitests/ntdll/
H A Dprobelib.c17 _In_ NTSTATUS ExpectedStatus) in QuerySetProcessValidator() argument
55 if (ExpectedStatus == STATUS_INFO_LENGTH_MISMATCH) in QuerySetProcessValidator()
107 … ok(Status == ExpectedStatus || Status == SpecialStatus || Status == STATUS_DATATYPE_MISALIGNMENT, in QuerySetProcessValidator()
108 …or class information %lu in query information process operation!\n", ExpectedStatus, SpecialStatus… in QuerySetProcessValidator()
135 if (ExpectedStatus == STATUS_INFO_LENGTH_MISMATCH) in QuerySetProcessValidator()
199 …ok(Status == ExpectedStatus || Status == SpecialStatus || Status == STATUS_DATATYPE_MISALIGNMENT |… in QuerySetProcessValidator()
200 … for class information %lu in set information process operation!\n", ExpectedStatus, SpecialStatus… in QuerySetProcessValidator()
215 _In_ NTSTATUS ExpectedStatus) in QuerySetThreadValidator() argument
265 … ok(Status == ExpectedStatus || Status == SpecialStatus || Status == STATUS_DATATYPE_MISALIGNMENT, in QuerySetThreadValidator()
334 …ok(Status == ExpectedStatus || Status == SpecialStatus || Status == STATUS_DATATYPE_MISALIGNMENT |… in QuerySetThreadValidator()
[all …]
H A DNtCreateKey.c39 _In_ NTSTATUS ExpectedStatus, in TestCreateOpen_() argument
60 ok_(File, Line)(Status == ExpectedStatus, in TestCreateOpen_()
62 Status, ExpectedStatus); in TestCreateOpen_()
71 else if (NT_SUCCESS(ExpectedStatus)) in TestCreateOpen_()
79 ok_(File, Line)(Status == ExpectedStatus, in TestCreateOpen_()
81 Status, ExpectedStatus); in TestCreateOpen_()
90 else if (NT_SUCCESS(ExpectedStatus)) in TestCreateOpen_()
H A DUserModeException.c207 NTSTATUS ExpectedStatus, Status = STATUS_SUCCESS; in Test_SingleInstruction() local
233 ExpectedStatus = STATUS_INVALID_LOCK_SEQUENCE; in Test_SingleInstruction()
242 ExpectedStatus = STATUS_ILLEGAL_INSTRUCTION; in Test_SingleInstruction()
247 ExpectedStatus = STATUS_ILLEGAL_INSTRUCTION; in Test_SingleInstruction()
251 ExpectedStatus = STATUS_PRIVILEGED_INSTRUCTION; in Test_SingleInstruction()
255 ExpectedStatus = STATUS_ACCESS_VIOLATION; in Test_SingleInstruction()
259 ExpectedStatus = STATUS_SUCCESS; in Test_SingleInstruction()
262 ok_hex_(__FILE__, TestEntry->Line, Status, ExpectedStatus); in Test_SingleInstruction()
H A Dprecomp.h28 _In_ NTSTATUS ExpectedStatus);
36 _In_ NTSTATUS ExpectedStatus);
H A DRtlDosApplyFileIsolationRedirection_Ustr.c17 NTSTATUS ExpectedStatus; member
120 …ok(Status == Tests[i].ExpectedStatus, "%d: Status 0x%lx, expected 0x%lx\n", Tests[i].testline, Sta… in TestRedirection()
H A DRtlCriticalSection.c167 NTSTATUS ExpectedStatus = (Flags & ~AllowedFlags) ? in Test_Init() local
170 ok(Status == ExpectedStatus, "Wrong Status (0x%lx) for Flags 0x%lx\n", in Test_Init()
/reactos/modules/rostests/apitests/crt/
H A D_sntprintf.h17ExpectedStatus) } _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) { ExceptionStatus = _SEH2_GetExceptionC… argument
H A Dtcstoul.h16ExpectedStatus) } _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) { ExceptionStatus = _SEH2_GetExceptionC… argument
/reactos/modules/rostests/apitests/include/
H A Dapitest.h23 #define EndSeh(ExpectedStatus) \ argument
30 ok(ExceptionStatus == (ExpectedStatus), \
32 ExceptionStatus, (ExpectedStatus)); \
/reactos/modules/rostests/kmtests/ntos_mm/
H A DZwAllocateVirtualMemory.c70 CheckBufferRead(CONST VOID *Source, CONST VOID *Destination, SIZE_T Length, NTSTATUS ExpectedStatus) in CheckBufferRead() argument
76 KmtEndSeh(ExpectedStatus); in CheckBufferRead()
83 CheckBufferReadWrite(PVOID Destination, CONST VOID *Source, SIZE_T Length, NTSTATUS ExpectedStatus) in CheckBufferReadWrite() argument
90 KmtEndSeh(ExpectedStatus); in CheckBufferReadWrite()
92 Match = CheckBufferRead(Source, Destination, Length, ExpectedStatus); in CheckBufferReadWrite()
93 if (ExpectedStatus == STATUS_SUCCESS) ok_eq_int(Match, Length); in CheckBufferReadWrite()
/reactos/modules/rostests/kmtests/ntos_ex/
H A DExHardError.c31 ExpectedStatus, ExpectedResponse, \ argument
46 ok_eq_hex(Status, ExpectedStatus); \
51 ExpectedStatus, ExpectedRet) do \ argument
62 ok_eq_hex(Status, ExpectedStatus); \
/reactos/modules/rostests/kmtests/npfs/
H A DNpfsHelpers.c596 IN NTSTATUS ExpectedStatus, in NpQueryPipe_() argument
605 ASSERT(!NT_SUCCESS(ExpectedStatus)); in NpQueryPipe_()
614 ok_eq_hex_(Status, ExpectedStatus); in NpQueryPipe_()
625 ok_eq_hex_(Status, ExpectedStatus); in NpQueryPipe_()
636 ok_eq_hex_(Status, ExpectedStatus); in NpQueryPipe_()
H A Dnpfs.h156 IN NTSTATUS ExpectedStatus,
H A DNpfsReadWrite.c70 #define CheckPipeContext(Context, ExpectedStatus, ExpectedBytes) do \ argument
73 ok_eq_hex((Context)->ReadWrite.Status, ExpectedStatus); \
/reactos/modules/rostests/apitests/rtl/
H A DRtlIntSafe.c23 #define TEST_CONVERSION(FromName, FromType, ToName, ToType, Print, Value, Expected, ExpectedStatus)… in START_TEST() argument
29 … ok_eq_hex(Status, ExpectedStatus); \ in START_TEST()
/reactos/modules/rostests/kmtests/include/
H A Dkmt_test.h288 #define KmtEndSeh(ExpectedStatus) \ argument
295 ok_eq_hex(ExceptionStatus, (ExpectedStatus)); \