Mark Jansen
808aea9b72
[NTDLL_APITEST] Add minimal test for RTL_DEBUG_INFORMATION allocation
2020-04-26 13:44:01 +02:00
Bișoc George
07640a9a21
[CRT_APITEST] Add testcase for mbtowc() ( #2652 )
2020-04-26 13:18:41 +03: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
Doug Lyons
02e27dd512
[GDI32_APITEST] Add Tahoma font to GetTextMetrics apitest set ( #2615 )
...
Tahoma is available in Windows and ReactOS both, so this allows us to compare these fonts in both systems.
2020-04-22 14:21:31 +09:00
Mark Jansen
bf54369dbb
[LOADCONFIG_APITEST] Tell GCC that the .def is not just included for fun,
...
but that it should actually use it.
2020-04-19 15:18:51 +02:00
Mark Jansen
0b948581fc
[SDK][HOST-TOOLS] Add load_config workaround for gcc builds
...
Since binutils can not add this, we re-introduce pefixup.
It searches for the exported symbol '_load_config_used',
and uses that to fill out the LOAD_CONFIG directory in the PE header
2020-04-17 17:47:24 +02:00
Mark Jansen
f1e5bc3d74
[LOADCONFIG_APITEST] Add apitest using the load config section
...
For now, the only test is related to a user trace stack db.
The entire test application is disabled for gcc,
since it is unable to generate this load config info.
The stacktrace test is disabled until it is implemented.
2020-04-17 17:47:09 +02:00
Bișoc George
d778d04a16
[APITEST][NTDLL] Implement RtlGetNtProductType testcase ( #2489 )
2020-04-17 13:47:09 +03:00
Victor Perevertkin
7e069ccdb2
[CMAKE] Replace custom functions to built-in ones
...
add_target_compile_definitions -> target_compile_definitions
add_target_compile_flags -> target_compile_options
add_target_include_directories -> target_include_directories
2020-04-16 15:59:38 +03:00
Thomas Faber
9bcd835074
[ACPI_APITEST] Add a unit test for Bus_PDO_QueryResourceRequirements. CORE-12892
...
This will allow us to verify fixes made to function, which is quite broken.
2020-04-11 23:42:59 +02:00
Katayama Hirofumi MZ
2c306e9fa2
[SHELL32_APITEST] Add SHAppBarMessage testcase ( #2517 )
...
Add a testcase for shell32!SHAppBarMessage function. CORE-7237
2020-04-10 00:57:08 +09:00
Serge Gautherie
c6e854ce7b
[KERNEL32_APITEST][WS2_32_APITEST] Call SetLastError() before checking LastError ( #2437 )
...
Follow-up to cb5aa7be
.
2020-03-30 12:52:37 +02: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
Katayama Hirofumi MZ
1816e4f6cb
[USER32_APITEST] Strengthen DrawText testcase ( #2450 )
...
Add uFormat and pszText parameters into user32_apitest DrawText testcase. CORE-16753
2020-03-17 23:24:11 +09:00
Serge Gautherie
cb5aa7bee4
[APITESTS] Tested function must be called before GetLastError() log ( #2433 )
...
So as to get the relevant LastError value.
Fixes for apphelp_apitest, kernel32_apitest and ws2_32_apitest.
2020-03-13 18:15:21 +01:00
Katayama Hirofumi MZ
02f68dcb7a
[SHELL32_APITEST] Strengthen SHChangeNotify testcase ( #2417 )
...
Add pathname checks. CORE-13950
2020-03-07 11:36:55 +09:00
Katayama Hirofumi MZ
fc11cf78ca
[SHELL32] Improve ShellExecCmdLine in path resolving ( #2397 )
...
Fix and improve private function shell32!ShellExecCmdLine to improve Run Dialog behavior. CORE-14409
2020-03-01 19:32:33 +09:00
Katayama Hirofumi MZ
302356bf57
[SHELL32_APITEST] Add DoPropTest to SHChangeNotify testcase
...
CORE-13950
2020-02-29 16:02:48 +09:00
Katayama Hirofumi MZ
7f766e94d4
[SHELL32_APITEST] Support multi-process of SHChangeNotify testcase ( #2399 )
...
The shell32!SHChangeNotify function must be tested on multiple processes. CORE-13950
2020-02-29 08:13:52 +09:00
Katayama Hirofumi MZ
fe39760206
[SHELL32_APITEST] Add SHChangeNotify testcase ( #2378 )
...
Add a testcase for shell32!SHChangeNotify function to investigate the shell notification mechanism. CORE-13950
2020-02-25 00:45:44 +09:00
Oleg Dubinskiy
b749501976
[APPCOMPAT][ACCPAGE][SDB][ROSTESTS] Implement compatibility modes for Windows 10, Server 2016 and 2019
2020-02-23 17:43:40 +01:00
Hermès Bélusca-Maïto
ce3a0af4f0
[KERNEL32_APITEST] Add extra test cases for the 'ConsoleCP' test. ( #2278 )
2020-02-22 19:50:12 +01:00
Katayama Hirofumi MZ
e7a51a0ae0
[SHELL32_APITEST] Don't hardcode C:\ReactOS ( #2344 )
...
All tests successful.
CORE-14747
2020-02-14 23:04:17 +09:00
Katayama Hirofumi MZ
eb227153e5
[USER32_APITEST] Strengthen ScrollWindowEx for SW_SCROLLCHILDREN ( #2324 )
...
Improve ScrollWindowEx testcase for investigation of SW_SCROLLCHILDREN flag.
CORE-16687, CORE-12114
2020-02-11 11:27:55 +09:00
Katayama Hirofumi MZ
ed3c50f748
[SHELL32_APITEST] SHLimitInputEdit: Fix C4509 warning ( #2321 )
...
CORE-11701
2020-02-09 23:49:44 +09:00
Mark Jansen
008745d951
[ATL][ATL_APITEST] Test + implement CHeapPtrList
2020-02-08 22:09:14 +01:00
Mark Jansen
09cfb2823c
[ATL_APITEST] Add standalone CComHeapPtr project
2020-02-08 22:09:14 +01:00
Mark Jansen
55032c3122
[ROSTESTS] Fix result being evaluated twice,
...
and in the process fix gcc signed/unsigned errors
2020-02-08 22:09:13 +01:00
Mark Jansen
2eb96f0c40
[ROSTESTS] Update test helpers to allow custom file/line info
2020-02-08 22:09:13 +01:00
Mark Jansen
0c7b07dc89
[SDK] Move HIDA helper functions to shellutils.h
2020-02-08 22:09:13 +01:00
Mark Jansen
cd3c1e94ff
[SDK] Add some missing propsheet fields + validate struct sizes
2020-01-29 22:58:43 +01:00
Timo Kreuzer
42d2d5ec9c
[ROSTESTS] fix x64 build and fix/disable warnings
2020-01-26 11:50:37 +01:00
jimtabor
ef8c9239d7
[Win32nt|ApiTests] Add Exclude, Intersect and Offset Clip Region tests.
2020-01-20 13:11:09 -06:00
Doug Lyons
dbe1d36e5b
[CMD_APITEST] Add more regression tests for attrib
2020-01-11 14:20:33 +01:00
Katayama Hirofumi MZ
bce2d86ae3
[KERNEL32_APITEST] Strengthen ConsoleCP for Writing functions ( #2235 )
...
Add some tests for WriteConsoleOutputCharacterW and WriteConsoleOutputAttribute etc. into ConsoleCP testcase. CORE-12451
2020-01-08 21:20:24 +09: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
Stanislav Motylkov
fbf4660f46
[WS2_32_APITEST] Add some tests for GetAddrInfoW
...
Test results proves WSAStartup call should precede GetAddrInfoW calls.
2020-01-01 18:53:40 +02: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
Katayama Hirofumi MZ
07e1f6ed47
[KERNEL32_APITEST] More power to ConsoleCP testcase ( #2187 )
...
Strengthen kernel32_apitest ConsoleCP testcase for COMMON_LVB_LEADING_BYTE and COMMON_LVB_TRAILING_BYTE attributes. CORE-12451
2019-12-29 13:12:39 +09:00
Doug Lyons
76aaded77d
[SHELL32_APITEST] Add Regression Test for ShellExecuteW(). ( #2166 )
...
Add a testcase for ShellExecuteW regression. This test also shows the results of ShellExecuteW's return value. Addendum to PR#1854. CORE-12266
2019-12-25 17:15:39 +09:00
Katayama Hirofumi MZ
5fbf239348
[GDI32_APITEST] Fix GetGlyphOutline testcase ( #2163 )
...
ROSTESTS-340
2019-12-22 22:59:22 +09:00
Mark Jansen
3d4a557db3
[ATL_APITEST] Fix CComVariant test
2019-12-21 12:44:48 +01:00
Timo Kreuzer
465745b683
[APITESTS] Improve and fix tests
2019-12-21 12:44:48 +01:00
Timo Kreuzer
2dfa6f2979
[GDI32_APITEST] Remove duplicated test in Test_CreateBitmap
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
261e5a72cc
[APITESTS] Add PROJECT(ApiTests) to get a separate VS solution file
2019-12-21 12:44:48 +01:00
Bișoc George
8ec05f5fa1
[SHELL32] Do not return -1 if a file is not valid or not found - ExtractIconEx() ( #2113 )
...
ExtractIconEx() returns the number of successfully extracted icons from a file. The routine may return 0 in case no icons could be extracted but it could also return 0 if the file is not a valid PE image file or the file couldn't be found.
PrivateExtractIcons and the internal USER32 routine, ICO_ExtractIconExW(), return -1 in such scenarios. The behaviour is correct however we do not want that ExtractIconEx() returns -1 as well as it doesn't comply with the general documentation. In such cases, simply return 0 as no successful icons have been extracted due to related file failures.
CORE-16535
2019-12-12 08:24:20 +09:00