Timo Kreuzer
520cf2294d
[APITESTS] Share ok_eq_* macros between apitests and kmtests
...
This makes it possible to share sources between kmtest and apitests, e.g. for rtl.
2023-11-10 19:00:41 +02:00
George Bișoc
fefb1b7745
[NTDLL_APITEST] Write NtAccessCheck testcase that tests for empty generic mapping scenario
...
See b79aadd50bb7d5d6f08532284941c0334514c477 for further information.
2023-10-04 18:04:29 +02:00
Timo Kreuzer
1d59cf43af
[NTDLL_APITEST] Add tests for critical sections
2023-09-07 08:36:48 +03:00
George Bișoc
8a61e1c33c
[NTDLL_APITEST] Write tests for NtAccessCheckByTypeResultList
2023-08-22 17:54:19 +02:00
George Bișoc
fd2e4437a8
[NTDLL_APITEST] Write tests for NtAccessCheckByType
2023-08-22 17:54:19 +02:00
Serge Gautherie
a995d8d614
[FASTFAT][NTDLL_APITEST] Add missing semicolon after _SEH2_END ( #5568 )
...
Trivial code consistency.
2023-08-15 18:16:31 +02:00
Timo Kreuzer
81d58bcf06
[NTDLL_APITEST] Fix a test for NtMapViewOfSection
2023-04-17 00:41:31 +03:00
Timo Kreuzer
7d4833cb34
[NTDLL_APITEST] Try to fix test for NtMapViewOfSection
...
Remove a 0 sized test.dll, which overwrites an already present proper test.dll
2023-04-17 00:41:31 +03:00
George Bișoc
eb7550f767
[NTDLL_APITEST] Write some tests for NtQueryOpenSubKeys
2023-03-16 20:04:31 +01:00
Timo Kreuzer
684b5ce86a
[NTDLL_APITEST] Comment out a test that fails on Windows Server 2003
2023-01-31 18:39:21 +01:00
Timo Kreuzer
9237c1a455
[NTDLL_APITEST] Fix test for ProcessUserModeIOPL in Nt[Query/Set]InformationProcess
2023-01-31 18:39:21 +01:00
Timo Kreuzer
e6c192b556
[NTDLL_APITEST] Fix tests for StackOverflow
2023-01-31 18:39:21 +01:00
Roy Tam
9293b975ef
[NTDLL_APITEST] Add test for a section where PointerToRawData = 0 while SizeOfRawData != 0. CORE-18797
2023-01-20 17:02:37 +08:00
Timo Kreuzer
91b51f6e9c
[NTDLL_APITEST] Fix LdrEnumResources test for x64
2022-12-30 11:19:26 +01:00
Timo Kreuzer
6744368755
[NTDLL_APITEST] Implement NtContinue test for x64
2022-11-24 21:17:58 +02:00
Hermès Bélusca-Maïto
e944dfa75f
Remove '.html' from spdx.org license page URLs. ( #4845 )
2022-11-03 18:25:37 +01:00
Ratin Gao
badd97043f
[RTL][NTDLL_APITEST] Implement RtlRemovePrivileges ( #4614 )
...
Vista+ API, compile-time guarded.
Add tests for it.
2022-10-05 14:31:39 +02:00
Timo Kreuzer
f659ac5201
[NTDLL_APITEST] Add test for some user mode exceptions
2022-07-14 18:35:28 +02:00
Timo Kreuzer
96b847fd04
[NTDLL_APITEST] Fix RtlGetNtProductType test
2022-06-26 16:09:52 +02:00
Timo Kreuzer
47842d7847
[NTDLL_APITEST] Check whether changing the product type in the registry has an effect on RtlGetNtProductType
2022-06-25 22:57:18 +02:00
George Bișoc
0c569e1ff3
[NTDLL_APITEST] NtQueryInformationToken: write tests for TokenGroupsAndPrivileges
2022-06-19 17:22:04 +02:00
George Bișoc
2d1805504e
[NTDLL_APITEST] NtQueryInformationToken: write tests for TokenSandBoxInert
2022-06-13 18:17:10 +02:00
George Bișoc
bac1bce605
[NTDLL_APITEST] Write tests for NtQueryInformationToken and NtSetInformationToken
2022-06-09 19:20:31 +02:00
Hermès Bélusca-Maïto
957e566a23
[APITESTS][NTVDM][SPOOLSV] Add the missing ENABLE_EXPORTS property as these EXE targets have function exports.
...
This became a requirement, following a previous CMake update.
Otherwise the built EXEs would not export their intended functions.
Addendum to commit d8e92b5a
(see PR #1335 )
CORE-15406
[LOADCONFIG] The GCC rant had nothing to do with GCC, but everything with CMake...
[SPOOLSV] Add the missing exported stubs.
2021-12-04 01:17:32 +01:00
Hermès Bélusca-Maïto
d575e828d7
[NTDLL_APITEST] Test that NtQueryInformationProcess(ProcessWx86Information) can work without a ReturnLength pointer.
2021-11-22 00:13:33 +01:00
George Bișoc
6fe1b387c6
[NTDLL_APITEST] Implement NtFilterToken testcase
2021-11-07 14:14:18 +01:00
George Bișoc
fe0415a4ba
[NTDLL_APITEST] Free the allocated memory block when we're done
...
This fixes a memory leak where we allocate a buffer for token statistics with RtlAllocateHeap routine but we never free it afterwards.
2021-10-23 09:58:50 +02:00
George Bișoc
32db51fcff
[NTDLL_APITEST] Implement NtAdjustGroupsToken API tests
2021-09-23 17:38:42 +02:00
Hermès Bélusca-Maïto
9393fc320e
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93
.
...
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
2021-09-13 03:52:22 +02:00
Hermès Bélusca-Maïto
9b1edceae1
[REACTOS] Fix some instances of DPRINTs with trailing whitespace before newlines.
2021-09-13 03:52:19 +02:00
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