Thomas Faber
dab6b26a57
[KMTESTS:HAL] Add a test for HalQueryAMLIIllegalIOPortAddresses. CORE-17359
2020-11-07 11:36:14 +01:00
Hermès Bélusca-Maïto
3c722e35b1
[CMD][SERVMAN][SHELL32][WINSPOOL][ROSAPPS][NTOS:PNP] Fix my build.
2020-11-06 01:06:11 +01:00
Mark Jansen
cf869e3444
[DNSAPI_APITEST] Fix null-reference in case of failure
2020-11-04 21:13:42 +01:00
Timo Kreuzer
935280bf14
[CRT_APITEST] Add test for atexit
2020-11-01 09:33:14 +01:00
Timo Kreuzer
4048935988
[GDI32_APITEST] Add tests for truncated and extended handle to GetObject test
2020-10-31 14:24:09 +01:00
Timo Kreuzer
fe36f081c7
[COMPILER_APITEST] Add SEH tests from MS ( #2435 )
...
* [COMPILER_APITEST] Import MS EH/SEH tests
Taken from https://github.com/microsoft/compiler-tests
* [CRT] Add missing declaration of _longjmpex
* [COMPILER_APITEST] Add cmake build files for MS SEH test
It is built as a static library
* [COMPILER_APITEST] Fix GCC build of MS SEH tests
There are a number of hacks in there now. Also the volatile hacks should be separated and sent upstream.
* [COMPILER_APITEST] Fix x64 build of MS SEH tests
* [COMPILER_APITEST] Fix clang build of MS SEH tests
* [COMPILER_APITEST] Include MS SEH tests
2020-10-31 11:08:27 +01:00
Mark Jansen
9b421af118
[NTDLL_APITEST] Fix LdrEnumResources testdata initialization
...
ROSTESTS-361
2020-10-29 20:17:58 +01:00
Timo Kreuzer
a713e63b8b
[COMPILER_APITEST] Add new compiler_apitest, using pseh tests
2020-10-24 13:26:33 +02:00
Timo Kreuzer
69e80a1e74
[PSEH2_TEST] Move it to apitests
...
The folder name is compiler, because it is going to be part of a new compiler_apitest.
2020-10-24 13:26:33 +02:00
Timo Kreuzer
1fa9fdb625
[PSEH2_TEST] Fix compilation with MSVC
2020-10-24 13:26:33 +02:00
Jérôme Gardou
bbe47e61b1
|CMAKE] Use ExternalProject for host-tools build
2020-10-22 09:31:11 +02:00
Jérôme Gardou
c004b53d77
Apply suggestions from code review
...
Style fixes
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Co-authored-by: Victor Perevertkin <victor@perevertkin.ru>
2020-10-20 21:44:54 +02:00
Jérôme Gardou
00ed72d7e8
[CMAKE] Get rid of add_compile_flags
...
Use add_compile_options and the like instead
2020-10-20 21:44:54 +02:00
Jérôme Gardou
ed61512236
[CMAKE] Get rid of add_compile_flags_language macro
...
in favor of add_compile_options and the like with generator expressions
Also take this as an opportunity to remove the C++11 standard hack, GCC 8 now defaults to C++14
2020-10-20 21:44:54 +02:00
Jérôme Gardou
7e116f0ef3
[CMAKE] Get rid of replace_compile_flags
...
Introduce a finer-grained remove_target_compile_option instead
2020-10-20 21:44:54 +02:00
Jérôme Gardou
907025a018
[CMAKE] Introduce the atl_classes interface library
...
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
2020-10-20 21:44:54 +02:00
Jérôme Gardou
d6ea8659c8
[CMAKE] Get rid of the set_cpp macro
...
Instead of messing with global variables and the like, we introduce two target properties:
- WITH_CXX_EXCEPTIONS: if you want to use C++ exceptions
- WITH_CXX_RTTI: if you need RTTI in your module
You can use the newly introduced set_target_cpp_properties function, with WITH_EXCEPTIONS and WITH_RTTI arguments
We also introduce two libraries :
- cpprt: for C++ runtime routines
- cppstl: for the C++ standard template library
NB: On GCC, this requires to create imported libraries with the related built-in libraries:libsupc++, limingwex, libstdc++
Finally, we manage the relevant flags with the ad-hoc generator expressions
So, if you don't need exceptions, nor RTTI, nor use any runtime at all: you simply have nothing else to do than add your C++ file to your module
2020-10-20 21:44:54 +02: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
Jérôme Gardou
971b3223ba
[CMAKE] Use explicit path for "custom.dll" dependency
2020-10-20 15:21:00 +02:00
Jérôme Gardou
a385a78cf0
[OLE32_WINETEST] Fix build with lower optimization level
2020-10-15 11:53:11 +02:00
Katayama Hirofumi MZ
0089291751
[SHELL32_APITEST] Add ShellHook testcase ( #3289 )
...
Add a testcase named ShellHook for shell hook. This testcase will test HSHELL_WINDOWCREATED especially. HSHELL_WINDOWCREATED affects display of task bar panes. CORE-17330
2020-10-12 09:52:21 +09:00
Serge Gautherie
374f9db341
[GFLAGS] ModifyStatus(): Remove a remnant HeapFree() ( #3283 )
...
Addendum to ec62127
. CORE-17325
2020-10-08 22:39:31 +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
Katayama Hirofumi MZ
828a65f470
[BROWSEUI_APITEST] Follow-up of #3249 ( b1c3329
)
...
CORE-9281
2020-10-01 05:03:34 +09:00
Katayama Hirofumi MZ
b1c33293b0
[BROWSEUI_APITEST] Strengthen IACLCustomMRU testcase ( #3249 )
...
Add some tests for "TypedURLs" of a special case. The TypedURLs registry key consists of the registry values of "url1", "url2", "url3" etc instead of "MRUList", "a", "b" etc. CORE-9281
2020-09-30 20:51:49 +09:00
Hermès Bélusca-Maïto
4f4af5d271
[CMD_ROSTEST] Add tests for CALL label parsing, and for CALL and GOTO behaviour.
...
Tests adapted from https://stackoverflow.com/q/31987023/13530036
and from https://stackoverflow.com/a/38938416/13530036 .
- Test when CALL with a label containing /? actually calls GOTO's help,
and test when CALL's help is displayed instead.
- Test when CALL with a label containing /?, but specified by variables,
do NOT trigger GOTO's or CALL's help.
- Test the effect of the presence of escape carets in CALL label string.
- Test that CALL indeed supports double delayed expansion. Adapted from
https://stackoverflow.com/a/31990563/13530036 .
2020-09-27 19:04:51 +02:00
Adam Słaboń
50ff453434
[TRANSLATION] Polish translation update ( #3233 )
2020-09-26 21:42:36 +03:00
Hermès Bélusca-Maïto
7988a2ac54
[CMD_ROSTEST] Add more tests for the command echoer and new tests for the parser.
2020-09-26 17:51:07 +02:00
Kyle Katarn
b217d8bd14
[ROSTEST] Fix copy paste bug in RtlBitmap.c
2020-09-26 17:12:36 +02:00
Timo Kreuzer
ab43f86980
[KSECDD] Fix RtlEncryptMemory and improve test
2020-09-25 09:39:51 +02:00
Hermès Bélusca-Maïto
f5cf67f455
[CMD_ROSTEST] Add tests for SET /A errorlevels.
2020-09-23 00:22:48 +02:00
Hermès Bélusca-Maïto
0b400bbb98
[CMD_ROSTEST] Add tests for particular ERRORLEVEL behaviour in some commands.
2020-09-23 00:22:45 +02:00
Hermès Bélusca-Maïto
69258973e0
[CMD_ROSTEST] Add tests for the FOR /F "tokens=" command. See commit 0695ecbf
.
2020-09-22 23:08:13 +02:00
William Kent
427ea67b9c
[RTL] Add code to SxS manifest parser to parse XML namespaces ( #2512 )
...
* [XDK] Typo fix
* [XDK] Add missing ACTIVATION_CONTEXT_SECTION values
* [RTL] Merge changes from Wine
* [ROSTESTS] Fix typo
* [NTDLL] Typo fix
* Add test for new functionality
* [ROSTESTS] Fix path
* [ROSTESTS] Add test to testlist.c
2020-09-20 22:56:42 +02:00
Hermès Bélusca-Maïto
014efdf7e8
[CMD_ROSTEST] Add tests for delayed expansion.
2020-09-19 19:44:53 +02:00
Jérôme Gardou
0f66c66f72
[DBGHELP_WINETEST] Add from wine-staging 5.16
2020-09-16 10:36:03 +02:00
Katayama Hirofumi MZ
78edea8164
[SHELL32_APITEST] Strengthen ShellExecCmdLine testcase ( #3164 )
...
- Add tests for "My Documents" and "Control Panel".
- Add some comments for usability.
CORE-16939
2020-09-14 13:25:45 +09:00
Katayama Hirofumi MZ
de9c32bfed
[SHELL32_APITEST] Strengthen ShellExecuteW testcase ( #3165 )
...
Add tests for special folders. CORE-16939
2020-09-13 00:47:56 +09:00
Mark Jansen
922a956805
[SHLWAPI_APITEST] Add test showing SHLoadIndirectString should load a dll as datafile
2020-09-10 19:45:15 +02:00
Doug Lyons
e06ec0a594
[GDI32_APITEST] Create StretchBlt Regression Test ( #3109 )
...
* Add gdi32_apitest:StretchBlt regression test.
* Give Wine proper credit for base code.
2020-09-10 18:15:12 +02:00
Mark Jansen
58092fb4da
[ATL][ATL_APITEST] Add CString::Tokenize + testcase
2020-09-07 22:13:43 +02:00
Katayama Hirofumi MZ
e7430a86b2
[BROWSEUI_APITEST] Follow-up of #3123 ( 94a413a
)
2020-09-06 21:51:08 +09:00
Katayama Hirofumi MZ
94a413ae3e
[BROWSEUI_APITEST] Strengthen SHExplorerParseCmdLine testcase a bit ( #3123 )
...
CORE-14177
2020-09-06 08:03:09 +09:00
Serge Gautherie
1c65a5e68a
[REGEXPL] Fix 'COMLPETION_H__INCLUDED_' typo
...
clang-cl 10:
'.../Completion.h(4,2): warning: 'COMLPETION_H__INCLUDED_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]'
Addendum to bf1b057
(r1507).
CORE-14306
2020-08-30 02:00:57 +03:00
James Tabor
62c4b828b4
[Printing] Update and Add Functions
...
More forwards to LocalSpl and LocalMon. At sometime will be merged together.
Bug fixes.
Printer Driver code is a wine hack. (WIP)
Added information for shell tray icon notifications.
Sync wine WinSpool driver tests. Unplugged from build.
2020-08-26 17:12:20 -05:00
Thomas Faber
32f17b34f5
[KERNEL32_APITEST] Enable SSE for TestSSEExceptions. CORE-17202
...
Clang will not let us use SSE intrinsics at all when compiling for a
target that doesn't support SSE. Since this test is a special case,
we can simply fix this by changing the options for one function.
The alternative would be to use our own inline functions for the
intrinsics instead of the builtins, like we do for GCC.
2020-08-23 12:07:38 +02:00
Thomas Faber
794d00c303
[FREELDR][NETKVM][ATL_APITEST] Pick the GCC code path for clang in some cases. CORE-17202
2020-08-23 12:07:37 +02:00
Hermès Bélusca-Maïto
4c9d322c68
[CMD_ROSTEST] Add tests for EXIT and CMD returned exit code values.
...
CORE-10495 CORE-13672
See also commits 8cf11060
(r40474), 26ff2c8e
and 7bd33ac4
.
More information can be also found at:
https://stackoverflow.com/a/34987886/13530036
and
https://stackoverflow.com/a/34937706/13530036
2020-08-19 20:36:02 +02:00
Hermès Bélusca-Maïto
71cd64d66a
[CMD_ROSTEST] Add tests for GOTO label parsing.
2020-08-19 20:36:01 +02:00
Hermès Bélusca-Maïto
aee1dd2972
[CMD_ROSTEST] Add tests for GOTO :EOF
2020-08-19 20:36:00 +02:00
Hermès Bélusca-Maïto
8ed9a46dc2
[CMD_ROSTEST] Add tests for GOTO and CALL label search ordering.
2020-08-19 20:35:59 +02:00
Hermès Bélusca-Maïto
7f8792e005
[CMD_ROSTEST] Add tests for batch execution flow with GOTO and CALL commands.
...
- Tests for GOTO across IF parenthesized block (parser test with line
continuation at closing parenthesis).
- Tests for showing how FOR-loops stop when a GOTO is encountered.
- Tests for EXIT command within IF block.
2020-08-19 20:35:58 +02:00
Hermès Bélusca-Maïto
988f8bd2f6
[CMD_ROSTEST] Add tests for the command echoer.
2020-08-19 20:35:55 +02:00
Hermès Bélusca-Maïto
23a52b2285
[CMD_ROSTEST] Minor improvements for the echo-ed info of the builtins tests.
2020-08-19 20:35:53 +02:00
Hermès Bélusca-Maïto
d85d991679
[CMD_ROSTEST] Sync batch.c with cmd_winetest' counterpart.
2020-08-19 20:35:53 +02:00
Hermès Bélusca-Maïto
7115d7ba8e
[CMD_WINETEST] Sync with Wine 5.12.
2020-08-19 20:35:53 +02:00
Thomas Faber
4bc7e664fb
[KMTESTS:RTL] Add initial range list tests. CORE-6372
2020-08-15 21:31:32 +02:00
Katayama Hirofumi MZ
3aa9cae13e
[SHELL32_APITEST] Strengthen SHAppBarMessage testcase for workarea ( #3041 )
...
CORE-7237 - Add workarea checks.
2020-08-13 20:59:36 +09:00
Katayama Hirofumi MZ
90aff8dd09
[SHELL32_APITEST] Strengthen SHChangeNotify testcase more ( #3038 )
...
- Add tests on SHCNRF_InterruptLevel and SHCNRF_RecursiveInterrupt.
- Don't use clipboard for data exchange.
- Close Explorer Cabinets before tests.
CORE-13950
2020-08-13 07:51:45 +09:00
Katayama Hirofumi MZ
03e6eca3c2
[SDK][INCLUDE] Add CLSID_CopyToMenu and CLSID_MoveToMenu ( #3032 )
...
- Add CLSID_CopyToMenu and CLSID_MoveToMenu to "sdk/include/reactos/shlguid_undoc.h".
- Remove some GUIDs from "com_apitest.h".
CORE-11132
2020-08-11 17:26:05 +09:00
Katayama Hirofumi MZ
1d8c567996
[SHELL32_APITEST] Improve DoAction8 of SHChangeNotify testcase
...
CORE-13950
2020-08-09 11:07:55 +09:00
Mark Jansen
cc7cf82673
[ROSAPPS] Remove applications from test directory
...
CORE-17097
2020-07-04 20:43:53 +02:00
Mark Jansen
ff6b138117
[ROSAUTOTEST] Add option to list all testable modules
2020-07-04 20:43:37 +02:00
Serge Gautherie
aae5cd8ea2
[CMAKE] Remove obsolete 'GCC_VERSION' checks ( #2962 )
...
following upgrade to RosBE 2.2.0 support and GCC 8.4.
2020-07-04 15:33:50 +02:00
Serge Gautherie
54e0dbe3b6
[ADVAPI32_WINETEST] test_create_delete_svc(): Fix 'account' size ( #2960 )
...
Cherry-pick
56a83c585a
2020-07-04 15:24:46 +02:00
Serge Gautherie
092e245754
[UTILDLL_APITEST] Create 'CachedGetUserFromSid()' test ( #2954 )
2020-07-04 15:24:13 +02:00
Serge Gautherie
7187b4d846
[ROSTESTS] sertest.c: Replace a busy loop with 'Sleep()' ( #2886 )
...
Detected by Cppcheck: uninitvar.
ROSTESTS-204
Co-authored-by: Victor Martinez <vicmarcal@gmail.com>
2020-07-04 15:18:22 +02:00
Serge Gautherie
02680ace4d
[POWRPROF_APITEST] Fix cppcheck warnings.
...
* test_CallNtPowerInformation(): Fix 2 'sizeof(sizeof())' copypastas
* test_ValidatePowerPolicies_Next(): Delete a duplicate line
2020-06-27 14:43:08 +02:00
Thomas Faber
1481df94ab
[KMTESTS:EX] Use stricter checks for the UUID returned from ExUuidCreate.
...
* Check the entire version field
* Check the variant field
* Accept RPC_NT_UUID_LOCAL_ONLY, which is sometimes returned by Windows
* Repeat the test to show that these things happen every time
Based on a patch by Serge Gautherie.
2020-06-27 10:13:51 +02:00
Victor Perevertkin
d230f8829c
[ROSAUTOTEST] Add /t parameter for repeating tests
2020-06-24 02:40:18 +03:00
Thomas Faber
dd6eb40381
[CMAKE] Remove work-arounds for old CMake versions. CORE-17109
2020-06-20 15:25:29 +02:00
Serge Gautherie
cac13bcd7f
[KMTESTS:OB] ObTypes: Support latest NT5.2 results
...
Update Port and WaitablePort values.
2020-06-18 10:09:37 +02:00
Serge Gautherie
9f6442ffbe
[SECUR32_WINETEST] Update for new WineHQ certificate
...
Cherry-pick
16254af818
CORE-17088
2020-06-08 20:32:52 +02:00
Victor Perevertkin
d424a0e088
[WININET_WINETEST][URLMON_WINETEST][SHELL32_APITEST] Skip some tests
...
Due to hangs on test machines
ROSTESTS-357 ROSTESTS-358 CORE-17057
2020-06-08 03:43:43 +03: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
Serge Gautherie
e7440eff8f
[APPHELP_APITEST] Properly handle a couple 'malloc()/free()' ( #2898 )
...
Detected by Cppcheck: memleak, redundantAssignment.
Addendum to 78280ad2
(r71226).
2020-06-06 17:58:34 +02: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
Serge Gautherie
5d88487cd1
[CDMAKE] Add 'DECLSPEC_NORETURN' to 'error_exit()' ( #2893 )
...
Detected by Cppcheck: doubleFree.
2020-06-05 13:57:49 +02:00
Katayama Hirofumi MZ
99b52df014
[SHELL32][INCLUDE] Improve CheckEscapesA/W ( #2795 )
...
Fix and improve shell32!CheckEscapesA/W functions.
Add a testcase for shell32!CheckEscapesA/W to shell32_apitest.
2020-05-28 10:58:26 +09:00
Serge Gautherie
11345aedd8
[FORMATTING] [CMAKE] Remove space in 'if (' ( #2847 )
2020-05-26 20:24:02 +02:00
Serge Gautherie
924f19f6dc
[REACTOS] Remove executable bits on source files ( #2822 )
2020-05-20 23:09:44 +02:00
Katayama Hirofumi MZ
5800ee5e27
[SHELL32_APITEST] Strengthen SHChangeNotify testcase ( #2797 )
...
Investigate on nSources and fRecursive parameters. CORE-13950
2020-05-19 09:29:42 +09:00
Victor Perevertkin
7b105ceb56
[SHELL32_APITEST] Disabled DragDrop test due to race condition
...
To be enabled back when the bug is fixed
CORE-17057
2020-05-18 20:50:07 +03:00
Serge Gautherie
ffd0ab39b5
[WS2_32_APITEST:WSAASYNC] Fix and improve some tests. ROSTESTS-317 ( #1132 )
...
- Add getsockname() addr_con_loc looping case.
Fix intermittent failure on Windows (NT <= 6.0):
"WSAAsync.c:232: Test failed: ERROR: getsockname function wrong addr, expected 100007f returned 0"
ROSTESTS-317
- Improve select() ServerSocket looping case.
Visible on Windows (NT >= 6.1).
2020-05-15 15:45:35 +02:00
George Bișoc
5ce40ea841
[NTDLL_APITEST] Add initial NtQueryInformationThread() testcase ( #2782 )
2020-05-14 14:32:38 +02:00
Katayama Hirofumi MZ
d5a4e534ae
[ROSAPPS][MAN] Don't hardcode C: drive ( #2780 )
...
CORE-13235
2020-05-13 22:21:17 +09:00
Katayama Hirofumi MZ
633770ab0d
[KERNEL32_APITEST] s/QueryUserAPC/QueueUseAPC/
2020-05-02 14:58:48 +09:00
Bișoc George
3cb0bdaa0b
[CRT_APITEST] Implement wctomb() testcase ( #2701 )
2020-05-01 16:01:11 +02:00
Mark Jansen
5cd5598ea9
[ZIPFLDR_APITEST] Add test enumerating over zip folder's parent
...
Disable tests for unimplemented features
2020-04-30 20:38:43 +02:00
Mark Jansen
0340c5188c
[ZIPFLDR_APITEST] Add some basic IDataObject tests
...
CORE-16241
2020-04-30 20:38:28 +02:00
Katayama Hirofumi MZ
f3235f1074
[KERNEL32_APITEST] Add QueryUserAPC testcase ( #2681 )
...
Add a testcase for kernel32!QueryUserAPC, SleepEx and WaitForSingleObjectEx functions.
CORE-13950
2020-04-29 07:48:46 +09:00
Mark Jansen
7cce7b9c08
[NTDLL_APITEST] Add a test for RtlGetUnloadEventTrace
2020-04-26 14:35:51 +02:00
Serge Gautherie
2505bd3a43
[ROSPERF] PrintOSVersion(): Fix RegQueryValueExW() use
2020-04-26 14:16:59 +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
Bișoc George
07640a9a21
[CRT_APITEST] Add testcase for mbtowc() ( #2652 )
2020-04-26 13:18:41 +03:00
Thomas Faber
3e9c4dad66
[WINDOWSCODECS] Use upstream Wine fix for 4bps BGRA TIFF. CORE-16796
...
Import Wine commits by Dmitry Timoshkov:
* 0cd8502b49 windowscodecs: Add support for 4bps RGBA format to TIFF decoder.
* 962bb99352 windowscodecs/tests: Add a separate test for 4bps BGRA TIFF format.
2020-04-24 14:56:26 +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