George Bișoc
a0bf7a05cc
[NTDLL_APITEST] Write some NtDuplicateToken tests
...
Implement some tests for NtDuplicateToken syscall that exercises the effective only behavior when the calling thread tries to duplicate an access token but rendering it effective with enabled parts.
2021-09-05 17:01:24 +02:00
George Bișoc
a71a019c46
[NTDLL_APITEST] Implement NtAdjustPrivilegesToken testcase
2021-09-05 09:53:17 +02:00
Timo Kreuzer
8a437ac528
[ROSTESTS] Skip some test on x64
2021-07-10 18:41:12 +02:00
Jérôme Gardou
4e0ce779d7
[NTDLL_APITEST] Add some tests for RtlUnicodeToOemN
...
CORE-17571
2021-05-19 22:50:29 +02:00
Jérôme Gardou
53a6c44f74
[NTDLL_APITEST] Add some tests for RtlUnicodeStringToCountedOemString
...
CORE-17571
2021-05-19 22:50:29 +02:00
Jérôme Gardou
0a8b51da80
[NTDLL_APITEST] Add tests for RtlxUnicodeStringToAnsiSize & RtlxUnicodeStringToOemSize
...
CORE-17571
2021-05-19 22:50:29 +02:00
Jérôme Gardou
50e0b006e7
[NTDLL_APITEST] Add some Japanese to RtlGenerate8dot3Name test case
...
CORE-17571
2021-05-19 22:50:29 +02:00
Mark Jansen
264aaa9e05
[RTL] Implement RtlGetLengthWithoutLastFullDorOrNtPathElement
...
CORE-17248
2021-05-08 19:24:23 +02:00
Mark Jansen
3e7e4ee360
[RTL] Implement RtlpApplyLengthFunction
...
CORE-17248
2021-05-08 19:24:23 +02:00
George Bișoc
efaa7b6a24
[NTDLL_APITEST] Add alignment probing tests for Query/Set information thread related routines
2021-05-02 20:58:40 +02:00
George Bișoc
3b53b3d07f
[NTDLL_APITEST] Add alignment probing tests for Query/Set information process related routines
2021-05-02 20:56:14 +02:00
George Bișoc
ae8ebe45d2
[NTDLL_APITEST] Implement alignment probing library code
...
The probing library code only probes data types for threads/processes information classes in Process Structure subsystem for now.
2021-05-02 20:45:57 +02:00
George Bișoc
66007dee2b
[NTDLL_APITEST] Include the internal headers from the kernel and the probing library file
2021-05-02 20:42:19 +02:00
Jérôme Gardou
e470b58376
[REACTOS] Explicitly link against pseh & include pseh headers in a few places
2021-04-28 13:10:23 +02:00
George Bișoc
5222eae730
[NTDLL_APITEST] Implement NtImpersonateAnonymousToken testcase
2021-04-27 12:25:03 +02:00
George Bișoc
69ca7258d0
[NTDLL_APITEST] Implement testcase for NtCompareTokens
2021-03-04 16:22:56 +03:00
Colin Finck
ec9f3d82b0
[NTDLL_APITEST] Ensure that some noticeable time has passed since process creation to fix a flaky test.
2021-03-02 19:32:20 +01:00
George Bișoc
b00ecdcab9
Replace my E-mail with the ReactOS org one ( #3475 )
...
From now on for ReactOS related contributions only the organization e-mail shall be used and also reverse the order of my real full name.
2021-02-22 18:26:55 +03:00
Mark Jansen
e1523dd28e
[NTDLL_APITEST] Add test showing that RtlImageDirectoryEntryToData works on 32-bit and 64-bit images
2020-12-05 17:03:24 +01:00
Thomas Faber
b2cf64094c
[NTDLL_APITEST] Add a test for KeyValuePartialInformationAlign64. CORE-17358
2020-11-14 15:10:59 +01:00
Mark Jansen
9b421af118
[NTDLL_APITEST] Fix LdrEnumResources testdata initialization
...
ROSTESTS-361
2020-10-29 20:17:58 +01:00
Jérôme Gardou
7b3faadaf5
[CMAKE] Add target-level dependency between ntdll_apitest and load_notifications
2020-10-20 15:21:00 +02:00
Thomas Faber
9b1fb8d6fd
[NTDLL_APITEST] Add test for an image file where SizeOfRawData > VirtualSize. CORE-17284
2020-10-03 13:13:35 +02:00
Kyle Katarn
b217d8bd14
[ROSTEST] Fix copy paste bug in RtlBitmap.c
2020-09-26 17:12:36 +02:00
George Bișoc
38c01a8429
[NTDLL_APITEST] Add ProcessWx86Information testcase for NtXxxInformationProcess ( #2852 )
2020-06-06 21:38:37 +02:00
Amine Khaldi
139a3d6661
[CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905
2020-06-06 21:58:41 +03:00
George Bișoc
d4acd8cc91
[NTDLL_APITEST] Add NtSetInformationThread testcase ( #2793 )
2020-06-06 17:48:39 +02:00
George Bișoc
a7dd057ce2
[NTDLL_APITEST] Add ProcessBasePriority and ProcessRaisePriority classes unit tests ( #2740 )
...
ProcessRaisePriority expects a buffer input information argument of KPRIORITY type definition as shown in this documentation (see the PROCESS_INFORMATION_CLASS structure members list of classes).
https://undocumented.ntinternals.net/index.html?page=UserMode%2FUndocumented%20Functions%2FNT%20Objects%2FProcess%2FNtSetInformationProcess.html
2020-06-06 17:47:38 +02:00
George Bișoc
5ce40ea841
[NTDLL_APITEST] Add initial NtQueryInformationThread() testcase ( #2782 )
2020-05-14 14:32:38 +02:00
Mark Jansen
7cce7b9c08
[NTDLL_APITEST] Add a test for RtlGetUnloadEventTrace
2020-04-26 14:35:51 +02:00
Mark Jansen
804b7830b7
[NTDLL_APITEST] Add test for RTL_DEBUG_QUERY_MODULES
2020-04-26 13:44:02 +02:00
Mark Jansen
808aea9b72
[NTDLL_APITEST] Add minimal test for RTL_DEBUG_INFORMATION allocation
2020-04-26 13:44:01 +02:00
Katayama Hirofumi MZ
774ef4e80e
[SDK][RTL][NTDLL_APITEST] Add RtlMultipleAllocateHeap and RtlMultipleFreeHeap ( #2641 )
...
- Add RtlMultipleAllocateHeap and RtlMultipleFreeHeap functions (2k3+).
- Add a testcase for two functions.
CORE-12026
2020-04-24 17:45:43 +09:00
Bișoc George
d778d04a16
[APITEST][NTDLL] Implement RtlGetNtProductType testcase ( #2489 )
2020-04-17 13:47:09 +03:00
Bișoc George
f70e43c8f3
[APITEST][NTDLL] Initial implementation of NtSetInformationProcess() testcase
...
The following testcase only performs argument checks for ProcessForegroundInformation class for the moment. The testcase will be expanded with further tests when needed.
2020-03-30 13:52:15 +03:00
Bișoc George
fcb156388d
[NTDLL_APITEST] Add testcase for process priority class. CORE-16757
...
Currently the testcase function only addresses the behaviour of getting an
unaligned buffer (either of correct length size or not) for now.
2020-03-28 13:10:44 +01:00
Mark Jansen
2eb96f0c40
[ROSTESTS] Update test helpers to allow custom file/line info
2020-02-08 22:09:13 +01:00
Timo Kreuzer
42d2d5ec9c
[ROSTESTS] fix x64 build and fix/disable warnings
2020-01-26 11:50:37 +01:00
Hermès Bélusca-Maïto
ef2e1871b1
[NTDLL_APITEST] Addendum to ae8c9a1f: really test the "zero Length, non-zero MaximumLength" case. + add few simplifications.
2020-01-03 17:41:14 +01:00
Hermès Bélusca-Maïto
ae8c9a1fa2
[NTDLL_APITEST] Add a test for RtlValidateUnicodeString().
2020-01-02 21:11:27 +01:00
Thomas Faber
3b430eefdd
[NTDLL_APITEST] Add a test for NtUnloadDriver.
2019-12-31 15:18:59 +01:00
Thomas Faber
787b2c7660
[APITESTS] Centrally define AllocateGuarded/FreeGuarded instead of duplicating them.
2019-12-31 15:18:41 +01:00
Timo Kreuzer
465745b683
[APITESTS] Improve and fix tests
2019-12-21 12:44:48 +01:00
Timo Kreuzer
1131d90516
[NTDLL_APITEST] Remove duplicated test for RtlInitilizeBitMap
2019-12-21 12:44:48 +01:00
Timo Kreuzer
e26c8bc66f
[ROSTESTS] Skip some flaky test / do not count successes
2019-12-04 01:24:49 +01:00
Victor Perevertkin
6b10706205
[APITESTS] Use StringCbPrintfA instead of sprintf
...
And fix a buffer size in Test_AddFontResourceA
2019-08-20 15:05:47 +02:00
Timo Kreuzer
58588b76e2
[REACTOS] Fix MSVC printf format warnings
2019-08-15 15:24:12 +02:00
Serge Gautherie
73938ee96f
[ROSTESTS] Add missing '\n' to a few skip()
2019-06-06 17:33:59 +02:00
Pierre Schweitzer
bdaa8e5ad1
[NTDLL_APITEST] Query sector size for NtWriteFile tests
2019-05-02 13:59:47 +02:00
Pierre Schweitzer
64b6327dd7
[NTDLL_APITEST] Add tests for alignment for NtWriteFile
...
This mimics the usage of WriteFile which is done in rosautotest.
CORE-15973
2019-05-02 12:09:34 +02:00