Commit graph

1276 commits

Author SHA1 Message Date
Timo Kreuzer c23ce9dfad [CRT_APITEST] Add static_crt_apitest 2021-08-04 02:03:07 +02:00
Timo Kreuzer 5f548654f4 [CRT_APITEST] Add tests for data exports 2021-08-04 02:03:07 +02:00
Timo Kreuzer b05cc36208 [CRT] Fix CRT headers a bit
* Remove unused internal version of float.h
* Define _STATIC_ASSERT in crtdefs.h
* Add some missing declarations
2021-08-04 02:03:07 +02:00
Roman Masanin 99ba98468f
[CRT_APITEST] Add tests for __dtoi64/dtou64/stoi64/stou64 on ARM (#3848)
CORE-17703 CORE-17604
2021-07-30 14:20:23 +03:00
Stanislav Motylkov 759bdedc1e [CRT_APITEST] Add tests for __rt_sdiv/udiv/sdiv64/udiv64 on ARM
Addendum to f2bc1f0e and f1e2c6cb.

CORE-17607 CORE-17614 CORE-17604
2021-07-29 13:37:07 +03:00
Timo Kreuzer 41bc57ddf0 [REACTOS] Silence warnings in 3r-party code 2021-07-23 22:03:48 +02:00
Timo Kreuzer 5d8e834897 [REACTOS] Fix a number of MSVC warnings 2021-07-23 22:03:48 +02:00
Jérôme Gardou 2289deb849 [KMTESTS:NTOS_IO] Fix check of spinlocks in case of checked builds
Down back to zero failures
2021-07-23 17:40:57 +02:00
George Bișoc 32a45ce15c [KMTESTS:SE] Implement initial logon session tests
This implements tests for SeMarkLogonSessionForTerminationNotification exported routine so far.
2021-07-15 19:31:46 +02:00
Katayama Hirofumi MZ 5a9c77b3be
[IMM32_APITEST] Add clientimc testcase (#3815)
- Add clientimc testcase to imm32_apitest.
- Add "precomp.h".
CORE-11700
2021-07-14 01:19:35 +09:00
Timo Kreuzer 9e6b0b16e9 [GDI32_APITEST] Clean up loaded fonts 2021-07-10 18:41:12 +02:00
Timo Kreuzer 8a437ac528 [ROSTESTS] Skip some test on x64 2021-07-10 18:41:12 +02:00
Timo Kreuzer 699041b221 [NTDLL_WINETEST] Unhack exception test and include it in x64
This removes the use of a precompiled header, as it causes problems with different usages of NONAMELESSUNION, which had to be hacked already, but this is still causing problems with GCC x64. It's just not worth the hassle to keep reactos specific hacks to save a few ms of compile time.
2021-07-10 18:41:12 +02:00
Timo Kreuzer a656d23deb [RPCRT4_WINETEST] Fix 64 bit build
"Should be sent to wine"(tm)
2021-07-10 18:41:12 +02:00
Katayama Hirofumi MZ d066dae7d9
[IMM32_APITEST] Add imm32_apitest test program (#3810)
Add a test program for imm32.dll as a proof of concept. CORE-11700
2021-07-10 00:05:43 +09:00
Serge Gautherie 76ce08dcec
[WIN32U_2KSP4] Remove it (#3786)
ReactOS does not target 2000 SP4 anymore.
2021-07-06 21:05:01 +09:00
Jérôme Gardou 7448f4b807 [CMAKE] Turn ENABLE_ROSAPPS, ENABLE_ROSTESTS & ENABLE_WALLPAPERS into options
Enabling UI tools to toggle them easily
2021-07-05 15:24:46 +02:00
Timo Kreuzer 6a9a739185 [ROSAUTOTEST] Run tests with current dir set to the test dir 2021-07-03 12:54:50 +02:00
Jérôme Gardou 8d665f8959 [KMTESTS] Fix tests for uniprocessor checked build 2021-06-29 11:49:20 +02:00
Katayama Hirofumi MZ afd349a93e
[SHELL32_APITEST] Improve ShellExecCmdLine testcase more (#3736)
- Simplify code.
- Loose the condition of success.
- Add some missing tests.
- Close newly opened windows gracefully.
CORE-17351, CORE-16898, CORE-17612
2021-06-11 08:09:18 +09:00
Katayama Hirofumi MZ 94d9e9c2a8
[USER32_APITEST] Add SetFocus testcase (#3732)
Investigate about setting keyboard focus. CORE-17550
2021-06-09 16:14:31 +09:00
Katayama Hirofumi MZ c35a84985a
[SHELL32_APITEST] Strengthen ShellExecuteEx testcase (#3731)
Investigate shell32!ShellExecuteEx function more. CORE-17351, CORE-16898, CORE-17612
2021-06-08 08:07:37 +09:00
Joachim Henze d30a1673d4 [SHELL32_APITEST] ShellHook testcase Fix compiler error (addendum to #3289)
addendum to 0.4.15-dev-1123-g 0089291751

Fix a compiler error on RosBE2.1.6 GCC4.7.2
that I got when I merged this test back to 0.4.14RC:

C:/0414rls/reactos/modules/rostests/apitests/shell32/ShellHook.cpp: In function
'LRESULT WindowProc(HWND, UINT, WPARAM, LPARAM)':
C:/0414rls/reactos/modules/rostests/apitests/shell32/ShellHook.cpp:339:26: error
: comparison between signed and unsigned integer expressions [-Werror=sign-compa
re]
cc1plus.exe: all warnings being treated as errors
ninja: build stopped: subcommand failed.
2021-06-06 16:40:28 +02:00
Katayama Hirofumi MZ 9eb566e707 [SHELL32_APITEST] Follow-up of #3723
Strengthen FindExecutable testcase. CORE-17351, CORE-16898, CORE-17612
2021-06-06 08:25:27 +09:00
Katayama Hirofumi MZ fccea84dd4
[SHELL32_APITEST] Add FindExecutable testcase (#3723)
Investigate the implementation of shell32!FindExecutable function.
CORE-17351, CORE-16898, CORE-17612
2021-06-06 06:51:42 +09:00
Mark Jansen e8902450bc [ATL_APITEST] Add some testcases for CString 'operator !=' 2021-06-05 23:28:38 +02:00
Timo Kreuzer 20c1da7963 [RTL][KMTEST] RtlPcToFileHeader doesn't handle user mode images in kernel mode 2021-06-05 14:39:29 +02:00
Joachim Henze ae574e16f8 [WINETESTS] Workaround crashes in riched20:richole on VBox/KVM bots CORE-16799
The crashes began when those tests were synced to Wine Staging 4.18 in
0.4.14-dev-419-g 76cf09cfea

WHS 2k3sp2 Before the revert implies the tests were actually ok:
https://reactos.org/testman/compare.php?ids=77492

Disabling some of the tests is very unsatisfying of course,
but at least allows us to observe again
the results of the other tests from that suite.

VBox https://reactos.org/testman/compare.php?ids=77504,77506
KVM https://reactos.org/testman/compare.php?ids=77502,77505
2021-06-04 20:04:20 +02:00
Katayama Hirofumi MZ 55345930ad [SHELL32_APITEST] ShellExecCmdLine: Don't copy Notepad.exe
On Windows 10, when I copyed Notepad.exe to the desktop and double-clicked it, it won't start Notepad. This is probably because there is a security protection mechanism (or some mechanism) at work. Tests that assume this mechanism will not work properly on ReactOS. Thus, I had to delete some tests. CORE-17351
2021-06-04 06:16:07 +09:00
Katayama Hirofumi MZ f37b94ba39 [SHELL32_APITEST] ShellExecCmdLine: Close Notepad windows
By using newly added CloseNotepads function, close the Notepad window.
CORE-17351
2021-06-03 14:49:49 +09:00
Katayama Hirofumi MZ a8ed286c86
[USER32_APITEST] Add ShowWindow testcase (#3689)
Investigate the implementation of user32!ShowWindow. CORE-15669
2021-05-30 09:37:38 +09:00
Katayama Hirofumi MZ d21adc9b31
[SHELL32_APITEST] Strengthen and improve ShellHook testcase (#3687)
- Add tests to find the missing parameters against HSHELL_WINDOWCREATED conditions.
- Improve code readability. CORE-15669
2021-05-29 09:33:46 +09:00
Jérôme Gardou 1549f0837f [SDK] Turn txt2nls into a host tool 2021-05-19 22:50:29 +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
Serge Gautherie eba00d1b5e [CMAKE] winetests/: Move '/wd4334' to 3 sub-modules only
Addendum to 42d2d5e.
2021-05-12 12:50:48 +02:00
Serge Gautherie 03e824641e [CMAKE] winetests/: Move '/wd4101' to kernel32/ only
Also add matching remove_target_compile_option().

Addendum to 42d2d5e.
2021-05-11 14:13:21 +02:00
George Bișoc ac97662619
[KMTESTS:SE] Remove erroneous tests regarding impersonation level
These tests didn't make much sense. The captured token from the subject context is not an impersonation token and both Windows and ReactOS ultimately fail on those tests.
2021-05-11 09:20:28 +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
Mark Jansen 23b6397ae9 [FONTEXT_APITEST] Test more cases for GetDisplayNameOf 2021-05-08 15:53:43 +02:00
Jérôme Gardou 061c7ecb1a [FRAMEDYN] Fix the whole situation with regards to wchar_t
Alias CHSTRING_WCHAR to unsigned short and use inline wrappers
to be able to use the thing with modern compilers

Put the GCC aliases into the public header.

Enable build with clang-cl
2021-05-03 22:00:57 +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
Katayama Hirofumi MZ 92e3b426b3 [CMD_APITEST] Follow-up of #3632 (0c2230a)
CORE-17500
2021-04-30 10:48:33 +09:00
Katayama Hirofumi MZ 0c2230ad64
[CMD_APITEST] Add FC testcase (#3632)
Add a testcase for FC (file comparison) command to investigate FC command. CORE-17500
2021-04-29 16:39:13 +09:00