Commit graph

2592 commits

Author SHA1 Message Date
Thomas Faber 7f94fb8b3d [REGDUMP]
- Fix a buffer overflow. Patch by Víctor Martínez Calvo.
ROSTESTS-203 #resolve

svn path=/trunk/; revision=72960
2016-10-12 12:41:31 +00:00
Hermès Bélusca-Maïto 8fb10f0eea [WINETESTS/SETUPAPI]: setupapi/tests: Determine path to system32 directory at runtime. Synced from Wine-Staging commit 92510a34ed9ec67fec4e580a5c73b8b53c216734
ROSTESTS-234 #comment Updated in r72958.

svn path=/trunk/; revision=72958
2016-10-12 11:36:16 +00:00
Peter Hater a0257c8b37 [WS2_32_APITESTS] Add super simple WSARecv tests used to test WSAGetOverlappedResult. ROSTESTS-197
svn path=/trunk/; revision=72957
2016-10-11 10:48:47 +00:00
Peter Hater 9017581a14 [WS2_32_APITESTS] Fix helper by not shutting down send. This way it breaks the test on windows also.
svn path=/trunk/; revision=72949
2016-10-10 06:48:56 +00:00
Amine Khaldi 894fa45ad2 [WS2_32_WINETEST] Sync with Wine Staging 1.9.20.
svn path=/trunk/; revision=72917
2016-10-06 11:15:59 +00:00
Amine Khaldi c3b215936d [WS2_32_APITEST] Add tests for getnameinfo. By Peter Hater. CORE-8549
svn path=/trunk/; revision=72908
2016-10-05 09:33:03 +00:00
Amine Khaldi fed5729c81 [WS2_32_WINETEST] Enable test_address_list_query() again, now that CORE-12000 is resolved.
svn path=/trunk/; revision=72903
2016-10-04 18:32:09 +00:00
Thomas Faber bf8b336ec9 [USER32_APITEST]
- Fix build

svn path=/trunk/; revision=72901
2016-10-04 15:37:25 +00:00
Thomas Faber 0a783e0ff3 [USER32_APITEST]
- Extend GetUserObjectInformation tests by adding tests for UOI_NAME on the default as well as custom window stations/desktops.
CORE-12073

svn path=/trunk/; revision=72900
2016-10-04 15:14:30 +00:00
James Tabor 0b4b25d0ed [User32_wineTest]
- Enable skipped test_activateapp tests.

svn path=/trunk/; revision=72881
2016-10-01 18:51:46 +00:00
Thomas Faber 3a5e3ae774 [ADVAPI32_APITEST]
- Add a test for RegEnumKeyExW showing that it should return ERROR_MORE_DATA instead of ERROR_BUFFER_OVERFLOW when the name buffer is too small. Based on a patch by Doug Lyons.
CORE-12030

svn path=/trunk/; revision=72876
2016-10-01 14:41:41 +00:00
Amine Khaldi 8e21414853 [DNSAPI_APITEST] Add more tests for DnsQuery_A/W. By Peter Hater. ROSTESTS-242
svn path=/trunk/; revision=72868
2016-09-30 15:23:25 +00:00
Amine Khaldi c27310bf96 [KERNEL32_APITEST] Add tests that reveal how the GetComputerNameEx fix in r72722 was not proper. By Peter Hater. ROSTESTS-243
svn path=/trunk/; revision=72849
2016-09-29 09:44:57 +00:00
Hermès Bélusca-Maïto 4b67338a7f [REACTOS]: Do not gather all the generated message resource files in the same directory (sdk/include/reactos/), so that to avoid potential file collisions, but instead place them into their respective per-target directories.
CORE-12062 #resolve

[RAPPS_NEW]: Fix rapps_new message header & resource files inclusion.

[ROSTESTS]: Adjust the CMakeLists files in accordance.

svn path=/trunk/; revision=72846
2016-09-28 23:20:20 +00:00
Hermès Bélusca-Maïto d1faa1a99f Addendum to r72841.
svn path=/trunk/; revision=72842
2016-09-28 20:22:33 +00:00
Amine Khaldi d0e5925de2 [IPHLPAPI_APITEST] Add some tests for GetNetworkParams. By Peter Hater. ROSTESTS-244
svn path=/trunk/; revision=72836
2016-09-28 14:27:48 +00:00
Mark Jansen 105f70b1fe [ATL_APITEST] Remove dependency on rpcrt4. CORE-10029
svn path=/trunk/; revision=72830
2016-09-27 18:20:20 +00:00
Amine Khaldi 2735832354 [DNSAPI_APITEST] Add some tests for DnsQuery_A/W. By Peter Hater. ROSTESTS-242
svn path=/trunk/; revision=72829
2016-09-27 18:00:03 +00:00
Thomas Faber 16b33b45ab [ATL_APITEST]
- Fix MSVC build

svn path=/trunk/; revision=72827
2016-09-27 16:51:39 +00:00
Mark Jansen ed8515d7ed [ATL][ATL_APITEST] Implement some basic functionality for CComVariant + tests. CORE-12041
Also adds Detach() to CComBSTR.

svn path=/trunk/; revision=72820
2016-09-26 20:50:36 +00:00
Benedikt Freisen dcea2a97b2 [ATL][ROSTESTS] Tests for: CImage: Add GetImporterFilterString and GetExporterFilterString. Patch by Katayama Hirofumi MZ, CORE-10029
svn path=/trunk/; revision=72818
2016-09-26 19:15:40 +00:00
Thomas Faber 8abd9a0386 [KERNEL32_APITEST]
- Add a test for WideCharToMultiByte with CP_UTF8
CORE-12042

svn path=/trunk/; revision=72809
2016-09-26 10:06:55 +00:00
Dmitry Chapyshev 92e7c0979a [NTDLL_APITEST] Add test for invalid pointer
svn path=/trunk/; revision=72801
2016-09-25 16:57:55 +00:00
Mark Jansen 6ee0488c6d [CRT_APITEST] Add tests for __getmainargs, testing a commandline ending with spaces. Patch by Yaroslav Veremenko CORE-9199
svn path=/trunk/; revision=72762
2016-09-21 19:26:47 +00:00
Amine Khaldi dc52ede2f3 [WS2_32_WINETEST] Disable test_address_list_query() as the ioctl is not supported yet by winsock helper dll (wshtcpip.dll) and the test is assuming there is info returned which is wrong and crashes. By Peter Hater. CORE-10440 CORE-12000
svn path=/trunk/; revision=72728
2016-09-18 16:20:20 +00:00
Thomas Faber bae3687192 [NTDLL_WINETEST]
- Skip exception test on WHS-Testbot... because problems...
ROSTESTS-240

svn path=/trunk/; revision=72696
2016-09-16 09:33:54 +00:00
Mark Jansen af4f582986 [ATL_APITEST] Update CImage apitest to be in line with the CSimpleArray / CSimpleMap tests. Patch from Katayama Hirofumi MZ. CORE-11946 #resolve #comment Thanks!
svn path=/trunk/; revision=72689
2016-09-15 19:42:45 +00:00
Mark Jansen 639a2c725d [ATL][ATL_APITEST] Implemente CSimpleArray + CSimpleMap. Based on a patch from Katayama Hirofumi MZ. CORE-11946
Most of the code is from Katayama Hirofumi MZ, the placement new / delete is written by me, based on a hint from Giannis.

svn path=/trunk/; revision=72688
2016-09-15 19:41:03 +00:00
Pierre Schweitzer 7d2b56ccb0 [NTDLL_APITEST]
RtlGenerate8dot3Name: show that we don't deal correctly with checksums while generating short names.

Dedicated to Christoph

svn path=/trunk/; revision=72666
2016-09-13 09:57:52 +00:00
Dmitry Chapyshev 5e9b9699a6 [USER32_APITEST] Add tests for EnumDisplaySettingsA
svn path=/trunk/; revision=72658
2016-09-11 19:50:16 +00:00
Dmitry Chapyshev 5d2a362dda [WIN32KNT_APITEST] Add some tests for GET/SET NONCLIENTMETRICS, MINIMIZEDMETRICS, ICONMETRICS. It is checked in win2k3
svn path=/trunk/; revision=72647
2016-09-10 18:36:56 +00:00
Dmitry Chapyshev 3776d19ec9 [WIN32KNT_APITEST]
- Remove wrong tests. Win2k3 ignores the size of structure for GET/SET NONCLIENTMETRICS, MINIMIZEDMETRICS, ICONMETRICS

[NtUser]
- Remove wrong checks

svn path=/trunk/; revision=72645
2016-09-10 16:17:35 +00:00
Dmitry Chapyshev 3d5e037772 [WIN32KNT_APITEST]
- Fix copypasta

[NTUSER]
- User's buffer has to be checked before check of size parameters, differently we cannot safely check the sizes of structures

svn path=/trunk/; revision=72636
2016-09-09 20:44:34 +00:00
Dmitry Chapyshev 5b62af8967 [WIN32NT_APITEST]
- Add some tests for NtUserSystemParametersInfo

svn path=/trunk/; revision=72635
2016-09-09 20:27:31 +00:00
Amine Khaldi 6485aa2f27 [USER32_WINETEST] Enable the skipped part of clipboard.c as the issue documented in CORE-11953 doesn't happen in the KVM testbot.
svn path=/trunk/; revision=72620
2016-09-08 09:36:26 +00:00
Amine Khaldi 1c04786553 [WS2_32_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72617
2016-09-07 23:29:52 +00:00
Amine Khaldi bca9ea7b61 [USER32_WINETEST] Sync with Wine Staging 1.9.18. One skipped part of clipboard.c is documented in CORE-11953
svn path=/trunk/; revision=72616
2016-09-07 23:24:48 +00:00
Amine Khaldi a38f07f3e8 [SHELL32_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72615
2016-09-07 22:45:39 +00:00
Amine Khaldi 450fb4a3d3 [SETUPAPI_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72614
2016-09-07 22:43:09 +00:00
Amine Khaldi 4ec63eee1b [SERVICES_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72613
2016-09-07 22:35:17 +00:00
Amine Khaldi ae503d62cc [MSVCRT_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72612
2016-09-07 22:34:15 +00:00
Amine Khaldi 89932f2716 [KERNEL32_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72611
2016-09-07 22:32:56 +00:00
Amine Khaldi 9018c6fe32 [GDI32_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72610
2016-09-07 22:12:51 +00:00
Dmitry Chapyshev abdc65593f [KMTEST]
- Add null-pointer test for RtlIsValidOemCharacter

svn path=/trunk/; revision=72581
2016-09-04 23:15:08 +00:00
Dmitry Chapyshev 1a8c432587 [KMTEST]
- Implement tests for RtlIsValidOemCharacter function

svn path=/trunk/; revision=72579
2016-09-04 22:15:53 +00:00
Mark Jansen e61bc91d97 [APPHELP][APPHELP_APITEST] Partially implement SdbGetMatchingExe, SdbInitDatabase and SdbTagRefToTagID. CORE-10367
- SdbGetMatchingExe, SdbInitDatabase partial implementation by Mislav Blažević
- Tests by me, they pass on vista - win10. (Win2k3 has another struct layout)
- Move shared test functions to a common header
- SdbTagRefToTagID misses functionality related to multiple databases, but that is not supported anywhere yet.

svn path=/trunk/; revision=72549
2016-09-03 16:20:52 +00:00
Mark Jansen 1dd7857278 [APPHELP][APPHELP_APITEST] Partially implement SdbMakeIndexKeyFromString
svn path=/trunk/; revision=72503
2016-08-29 15:19:55 +00:00
Dmitry Chapyshev 85d39f7ebe [ADVAPI32_APITEST]
- Add tests for IS_TEXT_UNICODE_DBCS_LEADBYTE flag

[SDK]
- Add missed IS_TEXT_UNICODE_DBCS_LEADBYTE definition

svn path=/trunk/; revision=72487
2016-08-28 15:59:29 +00:00
Dmitry Chapyshev af19896deb [RTL]
- Implement IS_TEXT_UNICODE_ILLEGAL_CHARS and IS_TEXT_UNICODE_ASCII16 flags

* It fixes 7 tests for the IsTextUnicode function in advapi32_apitest. All tests passed now

svn path=/trunk/; revision=72486
2016-08-28 11:05:01 +00:00
Dmitry Chapyshev c49c7bb373 [ADVAPI32_APITEST]
- Add tests for IS_TEXT_UNICODE_ILLEGAL_CHARS flag (not passed on ReactOS)

svn path=/trunk/; revision=72484
2016-08-28 10:42:32 +00:00
Jérôme Gardou 9726a48493 [NTDLL_APITEST]
- Add some tests which show how Windows handles the ZeroBits argument

svn path=/trunk/; revision=72468
2016-08-26 21:08:24 +00:00
Mark Jansen f156a8d727 [WIN32NT_APITEST] Add additional tests for NtUserCreateWindowEx by Sylvain Deverre. ROSTESTS-237 #resolve #comment Thanks!
svn path=/trunk/; revision=72400
2016-08-20 16:58:20 +00:00
Amine Khaldi a0297b51ec [SCRRUN_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72362
2016-08-19 09:54:01 +00:00
Amine Khaldi 22b736b312 [REG_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72361
2016-08-19 09:53:19 +00:00
Amine Khaldi d1ca52d800 [WSCRIPT_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72359
2016-08-19 09:49:22 +00:00
Amine Khaldi 7762de059c [WININET_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72357
2016-08-19 09:46:10 +00:00
Amine Khaldi a58f578c0e [WINHTTP_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72355
2016-08-19 09:44:16 +00:00
Amine Khaldi 722837d960 [WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72353
2016-08-19 09:42:48 +00:00
Amine Khaldi ae7213af9a [RPCRT4_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72351
2016-08-19 09:41:01 +00:00
Amine Khaldi 891c9a1bc1 [OLE32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72349
2016-08-19 09:39:12 +00:00
Amine Khaldi d4778af3f0 [JSCRIPT_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72347
2016-08-19 09:37:22 +00:00
Amine Khaldi 6873f2c1ae [INETCOMM_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72345
2016-08-19 09:34:00 +00:00
Amine Khaldi efa0b8f5af [GDIPLUS_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72342
2016-08-19 09:29:03 +00:00
Amine Khaldi 26869f8e63 [COMDLG32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72339
2016-08-19 09:24:50 +00:00
Amine Khaldi 178465de85 [SETUPAPI_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72337
2016-08-19 09:21:44 +00:00
Mark Jansen 6db0c12e85 [ATL][ATL_APITEST] Add CImage initial implementation + tests, by Katayama Hirofumi MZ. CORE-10029 #comment Thanks, first iteration committed!
- Tests focus mainly on loading + saving images.
- The implementation is not perfect yet, see CImage_WIP.txt for test results.
- The GDI+ functions should be fixed before this test can pass fully, MS' ATL fails in ReactOS, but passes on Windows.

svn path=/trunk/; revision=72332
2016-08-18 19:27:49 +00:00
Amine Khaldi ded08d3fbb [KERNEL32_WINETEST] Come on Jérôme! commit the awesomeness so we can remove this skip ;)
svn path=/trunk/; revision=72331
2016-08-18 19:12:59 +00:00
Amine Khaldi d00225ce65 [COMCTL32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72321
2016-08-18 11:10:51 +00:00
Amine Khaldi b36e38a2a3 [XMLLITE_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72318
2016-08-18 10:55:43 +00:00
Amine Khaldi 8497ce4353 [WSHOM_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72316
2016-08-18 10:53:52 +00:00
Amine Khaldi 8ce605cde9 [WBEMDISP_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72314
2016-08-18 10:50:44 +00:00
Amine Khaldi f72814fe25 [USP10_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72312
2016-08-18 10:48:39 +00:00
Amine Khaldi 3860b7af4a [URLMON_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72310
2016-08-18 10:46:40 +00:00
Amine Khaldi 6da422d0ce [SHLWAPI_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72308
2016-08-18 10:44:39 +00:00
Amine Khaldi e16af6724e [RICHED20_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72306
2016-08-18 10:41:23 +00:00
Amine Khaldi 330e94b329 [PROPSYS_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72303
2016-08-18 10:35:58 +00:00
Amine Khaldi 0f820f751c [OLEAUT32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72299
2016-08-18 10:30:35 +00:00
Amine Khaldi ddb3a842ea [MSXML3_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72297
2016-08-18 10:27:46 +00:00
Amine Khaldi c96078d760 [MSI_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72293
2016-08-18 10:22:37 +00:00
Amine Khaldi c99ab15017 [MSCTF_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72291
2016-08-18 10:20:17 +00:00
Amine Khaldi e4a5020766 [MMDEVAPI_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72289
2016-08-18 10:17:56 +00:00
Amine Khaldi 66863bf8c5 [IMM32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72282
2016-08-18 10:08:05 +00:00
Amine Khaldi 681eba21be [HLINK_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72281
2016-08-18 10:07:20 +00:00
Amine Khaldi 0ee528548f [AVIFIL32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72273
2016-08-18 09:56:44 +00:00
Amine Khaldi 3f76d7c905 [QUARTZ_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72270
2016-08-18 09:51:01 +00:00
Amine Khaldi 7d75b785b8 [DINPUT_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72265
2016-08-18 09:44:21 +00:00
Amine Khaldi ebac637363 [SHELL32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72261
2016-08-18 09:39:10 +00:00
Amine Khaldi d71de35a77 [D3DRM_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72259
2016-08-18 09:37:07 +00:00
Amine Khaldi 470fde8354 [SECUR32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72256
2016-08-18 09:33:29 +00:00
Amine Khaldi c7940bf549 [WS2_32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72255
2016-08-18 09:29:06 +00:00
Amine Khaldi fb9b36051a [USER32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72254
2016-08-18 09:26:41 +00:00
Amine Khaldi 088421e1ef [KERNEL32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72253
2016-08-18 09:22:13 +00:00
Amine Khaldi 66b0514a00 [GDI32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72252
2016-08-18 09:19:56 +00:00
Amine Khaldi 214259b900 [CMD_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72251
2016-08-18 09:18:03 +00:00
Amine Khaldi bdcb293e98 [AMSTREAM_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72250
2016-08-18 09:15:31 +00:00
Amine Khaldi 80afa82c59 [WIN32NT_APITEST] Add some NtUserCreateWindowEx tests by Sylvain Deverre. ROSTESTS-237
svn path=/trunk/; revision=72242
2016-08-17 17:53:11 +00:00
Hermès Bélusca-Maïto 13478a6cb0 [ROSTESTS]: Add an interactive test that tests some parts of the event log service.
CORE-11843 CORE-11838

svn path=/trunk/; revision=72225
2016-08-14 19:15:54 +00:00
Hermès Bélusca-Maïto e7ce655076 [ROSTESTS]: Update the code file header.
svn path=/trunk/; revision=72224
2016-08-14 19:12:30 +00:00
Mark Jansen caa5c5b12d [CRT][CRT_APITEST] Fix __getmainargs and __wgetmainargs parsing, verified with apitests. Patch by Yaroslav Veremenko. CORE-11673 #resolve #comment Thanks!
svn path=/trunk/; revision=72214
2016-08-12 21:31:32 +00:00
Hermès Bélusca-Maïto 0bdab15b0f [ADVAPI32_APITEST]: Addendum to r72207:
- Fix the tests so that they test what they have to test, on ReactOS & Windows 2k3/XP. (Note that here, ReactOS used the more restrained event size limitations of Vista+ compared to those of Win2k3. I choose to test, and will implement, the size limitations of Win2k3.)
- Choose a different name for the test such that it doesn't collide with the 'eventlog' test from advapi32_winetest.
CORE-11838 CORE-11839

svn path=/trunk/; revision=72209
2016-08-12 13:38:49 +00:00