Commit graph

1026 commits

Author SHA1 Message Date
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