Commit graph

666 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 5d8e834897 [REACTOS] Fix a number of MSVC warnings 2021-07-23 22:03:48 +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
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
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
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 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
Mark Jansen 23b6397ae9 [FONTEXT_APITEST] Test more cases for GetDisplayNameOf 2021-05-08 15:53:43 +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
Jérôme Gardou ba74a05a17 [PSEH] Add implementation for GCC amd64
Also, put include directory next to the library and use
target_include_directories(.. INTERFACE ..) to get this right.
This is because :
 - Having includes & implementation in two different places buggers me
 - This makes sure that there is no "if it compiles everything is fine" behaviour from anyone
   because now even static libraries need it for GCC amd64 build
Also add __USE_PSEH2__ define for the non SEH-aware compilers out there and use it in a few headers
where we define macros involving __try
2021-04-28 13:10:23 +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
Jérôme Gardou 79bc62f206 [COMPILER_APITEST] Disable SEH tests for GCC amd64 build 2021-04-28 13:10:23 +02:00
Jérôme Gardou 0995b35bac [KERNEL32_APITEST] Fix compilation & global wut?? with SSE exception test 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
Katayama Hirofumi MZ f511258ee5 Revert '[FONTEXT_APITEST] Follow-up of #3585' 2021-04-07 17:08:23 +09:00
Katayama Hirofumi MZ 4214c2bf3c [BROWSEUI_APITEST] Strengthen IAutoComplete testcase 2021-04-07 12:39:28 +09:00
Katayama Hirofumi MZ a105b5d355 [FONTEXT_APITEST] Follow-up of #3585 (deb928c)
Strengthen GetDisplayNameOf testcase. CORE-9281, CORE-16444
2021-04-06 09:02:53 +09:00
Mark Jansen deb928c4bc
[FONTEXT_APITEST] Show that fontext returns absolute paths with SHGDN_FORPARSING (#3585)
Add GetDisplayNameOf testcase. CORE-9281, CORE-16444
2021-04-06 07:54:58 +09:00
Katayama Hirofumi MZ ab7d8f3616
[BROWSEUI][BROWSEUI_APITEST] Add CLSID_ACLHistory stubs (#3582)
- Initial implement CLSID_ACLHistory as stub.
- Add IACLHistory testcase into browseui_apitest.
CORE-9281
2021-04-05 04:20:18 +09:00
Katayama Hirofumi MZ e771589ae1
[BROWSEUI_APITEST] Strengthen ACListISF testcase (#3577)
Analyze CLSID_ACListISF's behavior about relative paths. CORE-9281
2021-04-03 16:56:49 +09:00
Katayama Hirofumi MZ ea3c56b659
[BROWSEUI_APITEST] Strengthen ACListISF testcase (#3538)
Add tests for ACListISF testcase to clarify the details. CORE-9281
2021-03-18 09:49:40 +09:00
Serge Gautherie b43bb63373
[COMPILER_APITEST] Sync an '#if defined(_X86_)' (#3318)
Addendum to dfccee7 (r41810).
2021-03-04 23:03:37 +01:00
George Bișoc 69ca7258d0 [NTDLL_APITEST] Implement testcase for NtCompareTokens 2021-03-04 16:22:56 +03:00
Katayama Hirofumi MZ 2282205d13 [BROWSEUI_APITEST] Fix abnormal termination on fn2 == NULL
The DoWordBreakProc function crashed.
CORE-9281
2021-03-04 14:42:04 +09:00
Katayama Hirofumi MZ 3b1c81b0ec
[BROWSEUI_APITEST] Strengthen IAutoComplete on WM_KEYDOWN (#3500)
- Simplify the test mechanism.
- Add more tests for WM_KEYDOWN message.

CORE-9281
2021-03-04 09:35:44 +09:00
Victor Perevertkin fc2b105e5d
[CMAKE] Use remove_target_compile_option when disabling manually enabled warnings 2021-03-03 06:04:25 +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
Katayama Hirofumi MZ a0e5c3d862
[BROWSEUI_APITEST] Strengthen IAutoComplete testcase on extended LV style (#3499)
Test the extended list-view style of the listview. CORE-9281
2021-03-02 18:05:32 +09:00
Katayama Hirofumi MZ 6de330026c [BROWSEUI_APITEST] Follow-up of #3493 2021-03-02 07:36:55 +09:00
Katayama Hirofumi MZ 003b19dc3c
[BROWSEUI_APITEST] Add IAutoComplete testcase (#3493)
Add tests for IAutoComplete objects, especially on the drop-down window and related controls.
CORE-9281
2021-03-02 07:25:31 +09:00
Katayama Hirofumi MZ 9e32854998 [ATL_APITEST] Fixup of #3492; fix SubclassWindow testcase
Fix the tests at Line 359 and 403.
CORE-9281
2021-02-28 13:13:38 +09:00
Katayama Hirofumi MZ ef3e7a3717
[SDK][ATL] Implement UnsubclassWindow methods (#3492)
I want UnsubclassWindow methods.
- Implement CWindowImpl::UnsubclassWindow method.
- Implement CContainedWindowT::UnsubclassWindow method.
- Add SubclassWindow testcase to atl_apitest test program.
- Fix generic text mapping of <atlwin.h>.
CORE-9281
2021-02-28 12:45:16 +09: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
Doug Lyons 89843bec56
[GDI32_APITEST] Add more StretchBlt Regression Tests (#3455)
Added tests for many more StretchBlt options.
Created StretchBlt regression tests for verifying most flip options.
This is preparation for my Pull Request #3458 which will implement the flip functionality for StretchBlt.

CORE-16642
2021-02-21 08:21:51 +09:00
Jérôme Gardou c8d07514c8 [CMAKE] Fix GCC -fstack-protector usage 2021-01-05 13:38:57 +01:00
Baruch Rutman f6de3342bf
[GDI32_APITEST] Add tests for SetLayout and its effects (#3203)
As part of the efforts to fix mirroring (Right-to-left UI), this API test
should help determine what is wrong currently in how certain functions behave
when the DC is mirrored. It focuses mostly on BitBlt, StretchBlt and LPtoDP.
Inspired by PR #3109.

CORE-17298
2020-12-26 19:48:21 +03:00
Dmitry Borisov 2e6c9ee1ca
[USER32_APITEST] Add a test for SPI_GETGRADIENTCAPTIONS (#3338) 2020-12-20 23:12:20 +03:00
Jérôme Gardou cb196d1e39 [APITESTS] Do not compile SEH tests in when using dummy PSEH 2020-12-14 18:22:07 +01: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 044be0e314
[USER32_DYNAMIC_APITEST] Remove a tautological check. Spotted by clang. 2020-11-22 13:22:03 +01:00
Thomas Faber b2cf64094c
[NTDLL_APITEST] Add a test for KeyValuePartialInformationAlign64. CORE-17358 2020-11-14 15:10:59 +01:00
Timo Kreuzer 490362cc67 [WIN32NT_APITEST] Add tests for truncated and extended handle to NtGdiDeleteObjectApp test 2020-11-07 18:34:10 +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
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 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
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
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
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
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
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
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
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
Serge Gautherie 092e245754
[UTILDLL_APITEST] Create 'CachedGetUserFromSid()' test (#2954) 2020-07-04 15:24:13 +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
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
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
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 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
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
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
Katayama Hirofumi MZ 7cc76d8afc [KERNEL32_APITEST] Follow-up of #2131 2019-12-09 20:55:13 +09:00
Katayama Hirofumi MZ d2ae609522
[USER32_APITEST] Add DrawText testcase (#2140)
This PR will add a testcase for user32!DrawText function. CORE-15478
2019-12-09 10:02:50 +09:00
Katayama Hirofumi MZ 2f8d847c91
[KERNEL32_APITEST] Adjust ConsoleCP testcase for Win10 JPN (#2131)
CORE-12451
2019-12-05 22:07:00 +09:00
Timo Kreuzer e26c8bc66f [ROSTESTS] Skip some flaky test / do not count successes 2019-12-04 01:24:49 +01:00
Katayama Hirofumi MZ 4f7bb559fb [SHELL32_APITEST] Improve DragDrop testcase 2
CORE-11238
2019-12-01 11:44:43 +09:00
Katayama Hirofumi MZ f7ef99fcc8
[CMD_APITEST] Add attrib testcase (#2104)
CORE-16284
2019-11-29 11:13:17 +09:00
Katayama Hirofumi MZ 14478887df [SHELL32_APITEST] DragDrop: Add NULL check of pDropTarget 2019-11-24 22:48:15 +09:00
Katayama Hirofumi MZ 2a93f61fcb
[USER32_APITEST] Power to DM_REPOSITION testcase (#2055)
- Add the minimized case.
- Add a test for WS_DISPLAYCHANGE message.
CORE-16490
2019-11-20 09:23:32 +09:00
Katayama Hirofumi MZ 803532b8c2 [SHELL32_APITEST] Add EnumPropW call CORE-11701 2019-11-18 20:20:12 +09:00
Katayama Hirofumi MZ 6cc8e7db4b
[INCLUDE][SHELL32_APITEST] Add SHLimitInputEdit testcase (#2053)
- Add IItemNameLimits interface into shobjidl.idl.
- Add a testcase for shell32!SHLimitInputEdit function.
CORE-11701
2019-11-18 20:02:18 +09:00
Katayama Hirofumi MZ bef841c3ee
[USER32_APITEST] Add DM_REPOSITION testcase (#2043)
CORE-16490
2019-11-18 10:46:36 +09:00
Katayama Hirofumi MZ 8e5f8c98ee
[SHELL32_APITEST] Strengthen DragDrop testcase (#2040)
CORE-11238
2019-11-16 02:23:25 +09:00
Katayama Hirofumi MZ e753d5e108
[CMD_APITEST] Add cmd_apitest testcases (#2034)
Add some testcases for cmd.exe. CORE-12150
2019-11-14 22:52:31 +09:00
Katayama Hirofumi MZ 6e42e63c46
[SHELL32_APITEST] Add DragDrop testcase (#2023)
Add DragDrop testcase to shell32_apitest for testing Drag & Drop feature of the Shell.
This PR tests IDropTarget::DragEnter and IDropTarget::Drop. CORE-11238
2019-11-12 16:49:52 +09:00
Katayama Hirofumi MZ 009dafe391
[KERNEL32_APITEST] Strengthen MultiByteToWideChar(CP_UTF8, ...) testcase (#2008)
CORE-16468
2019-11-01 09:06:34 +09:00
Victor Perevertkin 2f15e2f743
[ATL] Suppress GCC8 warning in RelocateElements, fix build. 2019-10-31 02:44:20 +03:00
Mark Jansen 2318bda651
[SHELL32_APITEST] Show that SHCreateDataObject behaves exactly like CIDLData_CreateFromIDArray 2019-10-20 17:10:11 +02:00
Mark Jansen 0f2cb5abc7
[SHELL32_APITEST] Show that the default data object does not have a preferred drop effect 2019-10-20 17:10:11 +02:00
Mark Jansen f741dd8557
[SHELL32_APITEST] Add test for CIDLData_CreateFromIDArray 2019-10-19 18:42:15 +02:00
Mark Jansen d315fd93d3
[FONTEXT_APITEST] Add simple api test showing interfaces
CORE-14690
2019-10-19 18:42:14 +02:00
Pierre Schweitzer 67d3fbdd97
[MOUNTMGR_APITEST] Dump offsets
That shows that some offset are shared (everything but the symlinks)
2019-10-19 18:00:36 +02:00
Pierre Schweitzer 6116262c74
[MOUNTMGR_APITEST] Dump returned mount points 2019-10-16 22:22:30 +02:00
Mark Jansen 08110c11d6
[APPHELP_APITEST] Make the db test succeed on 2k3 2019-09-25 20:46:57 +02:00
Mark Jansen f9c63aa7a4
[APPHELP_APITEST] Make the apphelp test succeed on 2k3 2019-09-25 20:46:45 +02:00
Thomas Faber cf2b918e0f
[SHELL32_APITEST] Fix PIDL leaks. 2019-09-22 11:42:10 +02:00
Thomas Faber 06e886086c
[WS2_32_APITEST] Try to make the number of WSAAsync tests constant. 2019-09-22 11:41:40 +02:00
Brock Mammen e9bd402713 [COM_APITEST] Remove duplicate interface 2019-09-15 19:46:36 +03:00
Brock Mammen b16b396ca0 [COM_APITEST] Add CFindFolder test 2019-09-15 19:46:36 +03:00
Timo Kreuzer 1bcc69b1a0 [KERNEL32_APITEST] Fix a test that fails on Server 2003 and Windows 10 2019-09-15 14:14:06 +02:00
Pierre Schweitzer 8b0086e465
[MOUNTMGR_APITEST] Add an extra test for query failure 2019-09-15 12:29:15 +02:00
Timo Kreuzer a4ca5f05d1 [GDI32_APITEST] Fix AddFontResource test (#1901)
This commit uses GetCurrentDirectoryA rather than GetWindowsDirectoryA for convenience.
2019-09-14 00:25:20 +09:00
Pierre Schweitzer 16ec2e2aa5
[MOUNTMGR_APITEST] Add a test suite for the mount manager
It only tests IOCTL_MOUNTMGR_QUERY_POINTS for now
2019-09-05 08:36:20 +02:00
Ioannis Adamopoulos 7eb28dd0a9 Fix build 2019-08-25 14:56:12 +03:00
Ioannis Adamopoulos e419195d37 [HEADERS] Move some helpers from undocshell.h to shellutils.h as they didn't cover anything undocumented. Merge traycmd.h in undocshell.h as both contain just undocumented shell definitions. 2019-08-25 12:20:52 +03:00
Mark Jansen 9853eab1ea
[CRT_APITEST] Exclude a test with the same rule as in the cmakelist 2019-08-20 22:31:56 +02:00
Mark Jansen b5dc79c963
[CMAKE] Some arm cmake fixes 2019-08-20 22:27:59 +02:00
Victor Perevertkin 1c0a2a35e7 [APITESTS] Ignore GCC8 warnings where we test some crazy stuff 2019-08-20 15:05:47 +02:00
Victor Perevertkin 6b10706205 [APITESTS] Use StringCbPrintfA instead of sprintf
And fix a buffer size in Test_AddFontResourceA
2019-08-20 15:05:47 +02:00
Konstantin Motylkov ab2c90f1b9
[DNSAPI][DNSAPI_APITEST] Fix DnsQuery_UTF8 function and add tests
CORE-11634
2019-08-19 20:01:23 +02:00
Katayama Hirofumi MZ fce898063e
[COMCTL32_APITEST] Add propsheetv6 testcase (#1853)
The proof of #1842. Property sheet does unchange the page after WM_INITDIALOG. CORE-16280
2019-08-18 18:53:37 +09:00
Katayama Hirofumi MZ 86b8aeb3f2
Revert "[WININET_APITEST] Add Download testcase (#1832)" (#1839)
This reverts commit 7464241ada.
2019-08-16 17:01:03 +09:00
Timo Kreuzer 58588b76e2 [REACTOS] Fix MSVC printf format warnings 2019-08-15 15:24:12 +02:00
Mark Jansen b8a1a612b2
[DBGHELP_APITEST] Add rsym+pdb tests on loaded modules
Also reorder some stuff to make the tests more alike
2019-08-15 15:21:55 +02:00
Katayama Hirofumi MZ 7464241ada
[WININET_APITEST] Add Download testcase (#1832)
CORE-16310
2019-08-15 17:50:57 +09:00
Katayama Hirofumi MZ 14c267a3a3
[ATL_APITEST] Simplify code by using ok_int etc. (#1824)
Simplify the code by using ok_int, ok_long etc.
2019-08-12 23:10:47 +09:00
Katayama Hirofumi MZ a800fa7bb2
[ATL_APITEST] Add 'atltest.h' and use it (#1822)
- Add "atltest.h" header file for common use in atl_apitest.
- Delete the duplicated and simplify.
2019-08-12 19:24:08 +09:00
Mark Jansen 610b852451
[ATL] Add a minimal CAtlArray implementation 2019-08-11 21:46:07 +02:00
Mark Jansen 300649ba77
[ATL_APITEST] Add simple test for CAtlArray 2019-08-11 21:46:06 +02:00
Mark Jansen 29c0b93a0a
[ATL_APITEST] Change proj files to have a different intermediate dir 2019-08-11 21:46:06 +02:00
Mark Jansen ae69b1fda2
[ATL][ATL_APITEST] Add CAtlList::InsertBefore/After + test 2019-08-11 21:45:56 +02:00
Katayama Hirofumi MZ 8084c042f1 [USER32_APITEST] Add #include 'precomp.h' in MessageStateAnalyzer 2019-07-26 21:45:11 +09:00
Katayama Hirofumi MZ 9c5d8cf7db [USER32_APITEST] Move <strsafe.h> #inclusion 2019-07-26 21:30:36 +09:00
Katayama Hirofumi MZ 782160bbc0
[USER32_APITEST][INCLUDE] Add MessageStateAnalyzer testcase (#1732)
I want to visualize the message stream and verify the states of each message. ROSTESTS-328

- Add a testcase named MessageStateAnalyzer into user32_apitest.
- Also fix type casts in <windowsx.h>.
2019-07-25 01:45:55 +09:00
Katayama Hirofumi MZ 595ae4c551
[GDI32_APITEST] Improve SetWorldTransform testcase (#1717)
Improve the testcase for gdi32!SetWorldTransform function. CORE-15554
2019-07-05 22:31:56 +09:00
Timo Kreuzer f565083d58
[GDI32_APITEST] Extend test for SetWorldTransform (#1686) 2019-06-24 21:16:10 +02:00
Katayama Hirofumi MZ d182f449fc [GDI32_APITEST] Fixup of 90be07f (#1675) 2019-06-21 15:50:53 +09:00
Katayama Hirofumi MZ 90be07f79a
[GDI32_APITEST] Improve TextTransform (add translation) (#1675)
Add some coordinate translation tests. CORE-15554
2019-06-21 15:45:54 +09:00
Katayama Hirofumi MZ c5246d68f5
[KERNEL32_APITEST] Improve SetComputerNameExW testcase (#1661)
Improve SetComputerNameExW testcase to check invalid characters. CORE-16122
2019-06-17 20:33:31 +09:00
Doug-Lyons 077a1b8dba
[ROSTESTS] Add a new test for "gethostname" in ws2_32_apitest. (#1630)
ROSTESTS-326

Make the test more robust; clean up on failures.

Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
2019-06-16 00:15:55 +02:00
Serge Gautherie 73938ee96f [ROSTESTS] Add missing '\n' to a few skip() 2019-06-06 17:33:59 +02:00
Serge Gautherie d6d1efe731
[BROWSEUI_APITEST] Add a test for SHEnumClassesOfCategories. (#1559)
CORE-11711
2019-06-06 17:07:08 +02:00
Serge Gautherie 347a74785e [WIN32KNT_APITEST] Replace remaining TESTX() (#1609)
Addendum to b7794e8112.
2019-06-04 11:48:04 +09:00
Serge Gautherie 92a9a445dd [WIN32KNT_APITEST:NTDD] Improve failure handling
And remove comments about ReactX.

ROSTESTS-315
2019-06-02 19:10:30 +02:00
Serge Gautherie ba884619b0 [FORMATTING] Add/Remove a few spaces 2019-06-02 19:10:30 +02:00
Serge Gautherie 620d8c01ea [USER32_APITEST:WNDPROC] Improve failure handling
ROSTESTS-316
2019-06-02 19:08:17 +02:00
Serge Gautherie c5d3ff03fb [USER32_APITEST:WNDPROC] 0 to NULL 2019-06-02 19:08:17 +02:00
Serge Gautherie 9a8b5ffc91 [FORMATTING] 3-spaces to 4-spaces
And a few additional formatting improvements.
2019-06-02 19:08:17 +02:00
Katayama Hirofumi MZ 6b5bb194b0
[KERNEL32_APITEST] dynamic linked RtlIsCriticalSectionLockedByThread (#1592)
Statically linked ntdll.RtlIsCriticalSectionLockedByThread had made kernel32_apitest unable to run in XP. CORE-16077
2019-05-31 20:23:30 +09:00
Katayama Hirofumi MZ 8d38373fd2 [KERNEL32_APITEST] Check CJK codepage before tests 2019-05-31 16:28:07 +09:00
Katayama Hirofumi MZ ec14b4c50a
[WIN32KNT_APITEST] Split win32knt_apitest to 3 modules (#1588)
Split win32knt_apitest to 3 modules (win32knt_apitest, win32knt_xpsp2_apitest and win32knt_2k3sp2_apitest) for usability. These 3 modules are different in linking (win32u.dll, win32u_xpsp2.dll and win32u_2k3sp2.dll). I think it's better to separate for clarity.
2019-05-29 20:32:32 +09:00
Katayama Hirofumi MZ dbc20b6484
[KERNEL32_APITEST] Check also 'NV Hostname' in SetComputerNameExW testcase (#1581)
Also test NV Hostname registry value in the testcase of kernel32!SetComputerNameW. ROSTESTS-322
2019-05-27 11:24:16 +09:00
Katayama Hirofumi MZ ed0c613528
[GDI32_APITEST] Improve GetGlyphIndices testcase (#1582)
Strengthen the testcase for gdi32!GetGlyphIndicesW. CORE-12825
2019-05-27 11:19:44 +09:00
Katayama Hirofumi MZ 87f5d017a4 [KERNEL32_APITEST] Fix build 2019-05-27 02:34:32 +09:00
Serge Gautherie de2b20d240 [KERNEL32_APITEST] Improve SetComputerNameExW test a bit (#1580)
Addendum to 8aeb6a9. ROSTESTS-227
2019-05-27 02:33:03 +09:00
Katayama Hirofumi MZ 8aeb6a920a
[KERNEL32_APITEST] Add SetComputerNameExW testcase (#1578)
Add testcase of kernel32!SetComputerNameExW function. ROSTESTS-227
2019-05-25 21:15:24 +09:00
Katayama Hirofumi MZ 68fcf906d9
[GDI32_APITEST] Strengthen TextTransform more (#1568)
Appendant to #1567. Add more tests for gdi32_apitest!TextTransform. CORE-15554
2019-05-19 19:11:12 +09:00
Katayama Hirofumi MZ 3a071a19ef [GDI32_APITEST] Fix MSVC build 2019-05-19 15:08:38 +09:00
Katayama Hirofumi MZ 7373cb3174
[GDI32_APITEST] Strengthen TextTransform testcase (#1567)
CORE-15554
2019-05-19 14:13:56 +09:00
jimtabor 25198d5cbd [Win32nt|ApiTests] Add ExtSelectClipRgn test
For CORE-13817 and CORE-15906
2019-05-08 12:31:17 -05:00