Commit graph

1187 commits

Author SHA1 Message Date
Pierre Schweitzer d7abae76b8
[KMTESTS:MM] Truncate file cache on uninitialize to avoid leaking a reference.
ROSTESTS-266
2018-03-22 22:35:19 +01:00
Amine Khaldi 348381716e [RICHED20_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-21 13:17:51 +01:00
Amine Khaldi c851a1bf2e [QMGR_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-21 13:12:52 +01:00
Amine Khaldi e270fbfd8d [PROPSYS_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-21 13:10:09 +01:00
Amine Khaldi 000789f420 [OLEDLG_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-21 12:56:46 +01:00
Mark Jansen 47da433742
[WS2_32_APITEST] Add additional testcases.
CORE-13067
2018-03-20 22:20:12 +01:00
Amine Khaldi b1433cb645 [OLEACC_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-20 12:40:39 +01:00
Amine Khaldi 66f35ef8c9 [OLE32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-20 12:38:58 +01:00
Amine Khaldi 66f8e62269 [NETCFGX_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-20 12:32:58 +01:00
Amine Khaldi 3662ed8775 [MSXML3_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-20 12:29:29 +01:00
Amine Khaldi 48cc7814c2 [MSVFW32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-20 12:21:40 +01:00
Mark Jansen 3bf5349172
[WS2_32_APITEST] Add a test showing that GetFileType / _open_osfhandle should succeed.
CORE-13067
2018-03-19 22:35:21 +01:00
Mark Jansen 8bbbab534a
[APPHELP_APITEST] Fix some 64 bit issues. 2018-03-18 15:58:04 +01:00
Amine Khaldi ad72601ed0 [MSRLE32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-18 12:36:35 +01:00
Amine Khaldi f302bfa196 [MSACM32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-18 12:23:28 +01:00
Mark Jansen 0dff328003
[NTPRINT_WINETEST] Remove a crashing test for a dll we don't have anymore. 2018-03-17 21:22:42 +01:00
Serge Gautherie 7f208124c9 [NTDLL_APITEST] Fix/Extend ApiTest NtAllocateVirtualMemory (#207)
* Fix 1 failure on both WS03 and ReactOS.
* Create CheckSomeDefaultAddresses(), with additional checks.
* Update license header.
* ROSTESTS-297
2018-03-17 17:30:01 +01:00
Thomas Faber d7ad37a165
[KMTESTS:CC] Truncate file cache on uninitialize to avoid leaking a reference. ROSTESTS-264 ROSTESTS-300 2018-03-17 16:39:23 +01:00
Amine Khaldi 0de65aae00 [MPR_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-17 13:25:29 +01:00
Amine Khaldi 32eba10892 [MMDEVAPI_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-17 13:23:50 +01:00
Amine Khaldi e68a367aa6 [JSCRIPT_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-17 13:12:12 +01:00
Mark Jansen 25cacdedb7
[GDIPLUS_WINETEST] Re-enable test_font_substitution.
ROSTESTS-154
2018-03-15 20:16:04 +01:00
Amine Khaldi 30494d2a1e [IMAGEHLP_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-15 12:29:08 +01:00
Amine Khaldi 3d690cee5a [HLINK_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-15 12:21:42 +01:00
Hermès Bélusca-Maïto ab8470d8bb
[KMTESTS:CC] Fix MSVC build. 2018-03-10 18:51:21 +01:00
Pierre Schweitzer 47a084303a
[KMTESTS:CC] Add some tests for CcMapData
To be extended.
2018-03-10 11:14:33 +01:00
Amine Khaldi e3f6657f95 [GDIPLUS_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 13:09:52 +01:00
Amine Khaldi 235892b4a4 [FUSION_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 13:08:05 +01:00
Amine Khaldi e4bb5d086b [CRYPTUI_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 13:06:48 +01:00
Amine Khaldi c2d08daae1 [CRYPTNET_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 13:03:51 +01:00
Amine Khaldi d03ac84f4f [CRYPT32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 13:00:36 +01:00
Amine Khaldi da5f10af77 [COMDLG32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:55:20 +01:00
Amine Khaldi 0dbc2d1842 [COMCAT_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:52:03 +01:00
Amine Khaldi ca1d7c82da [CABINET_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:49:13 +01:00
Amine Khaldi 2781e242e6 [AVIFIL32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:47:13 +01:00
Amine Khaldi 0aba4966ff [ATL100_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:45:08 +01:00
Amine Khaldi 1215b3f1da [ATL_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:44:38 +01:00
Amine Khaldi 59eab41aba [ADVPACK_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-09 12:42:18 +01:00
Amine Khaldi af9960ca99 [QUARTZ_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:47:02 +01:00
Amine Khaldi 4203ed112e [DXDIAGN_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:41:10 +01:00
Amine Khaldi 32675648dc [DINPUT_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:34:24 +01:00
Amine Khaldi d9b4957fdd [DEVENUM_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:31:41 +01:00
Amine Khaldi 595b846dae [AMSTREAM_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-08 13:11:06 +01:00
Serge Gautherie 84a9284a3f
[APPHELP_APITEST] Fix a Clang-Cl warning about a memcmp() call
"warning: argument to 'sizeof' in 'memcmp' call is the same pointer type 'SDBQUERYRESULT_VISTA *' (aka 'struct tagSDBQUERYRESULT_VISTA *') as the destination; expected 'SDBQUERYRESULT_VISTA' (aka 'struct tagSDBQUERYRESULT_VISTA') or an explicit length [-Wsizeof-pointer-memaccess]"

CORE-14306
2018-03-07 20:42:14 +01:00
Serge Gautherie 601871955f
[APPHELP_APITEST] env.c: Fix a 3rd Windows S2003 special case
Test_Shimdata() already has a TODO with 2 special cases.

- Special-case "dwLayerCount" too.
- Add extra-safety checks.
2018-03-07 20:42:14 +01:00
Thomas Faber 7905efdf35
[USER32_APITEST] Add a test for PeekMessage without DispatchMessage for WM_PAINT. CORE-13734 2018-03-07 13:20:42 +01:00
Mark Jansen 754a2fa872
[SHLWAPI_APITEST] Add test for SHAreIconsEqual 2018-03-05 22:43:17 +01:00
Thomas Faber 680d69d373
[AFD_APITEST] Introduce a test for directly creating and using sockets via AFD. CORE-9810
The initial tests in send.c validate correct behavior of send/sendto on
disconnected sockets (CORE-9810), fixed in r68129.
However, the helper functions are generic, so they can be used for additional
tests against AFD. Because AFD's create packet structure changes between
Windows versions, the functions check the OS version to determine the right
layout.
Tests succeed on Win2003 as well as Win10.
2018-03-05 14:52:56 +01:00
Amine Khaldi 31139640ea [MSI_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-05 00:31:58 +01:00
Amine Khaldi 23ec1e5e6f [WINDOWSCODECS_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-05 00:20:56 +01:00
Amine Khaldi a9068cc8d3 [RPCRT4_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-04 23:52:30 +01:00
Amine Khaldi 6cdd1357d6 [SHLWAPI_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-04 13:26:14 +01:00
Amine Khaldi e2e63ede68 [OLEAUT32_WINETEST] Fix non-PCH build. 2018-03-04 13:25:28 +01:00
Amine Khaldi 9d1dc9bee9 [OLEAUT32_WINETEST] Sync with Wine Staging 3.3. CORE-14434 2018-03-04 13:15:59 +01:00
Thomas Faber 88b9b90337
[COM_APITEST] Add some interfaces. 2018-03-02 15:23:13 +01:00
Thomas Faber b3bd2aabe1
[COM_APITEST] Fix test failures on Win2003. 2018-03-02 15:23:05 +01:00
Hermès Bélusca-Maïto 5f4a4b35e6
[ADVAPI32_APITEST] Open services & SCM handles with correct access rights; improve a check order. 2018-02-25 16:11:00 +01:00
Mark Jansen 8e1f342990
[APPSHIM_APITEST] Add Win8 and Win81 versionlie tests 2018-02-24 19:33:50 +01:00
Thomas Faber af6c5806d5
[SHLWAPI] Cherry-pick Wine commit 7be8beab68c (Don't attempt to un-expect ComputerName in PathUnExpandEnvStrings) by Katayama Hirofumi MZ. CORE-13816 2018-02-24 14:18:29 +01:00
Thomas Faber 9ac94af436
[KERNEL32_WINETEST] Cherry-pick Wine commit 85f515292aa (Close process / thread handles) by Mark Jansen. 2018-02-24 14:18:15 +01:00
Thomas Faber a5a6c6419f
[IMAGEHLP_WINETEST] Un-mark a ROS-diff that's been committed upstream. 2018-02-24 14:17:58 +01:00
Serge Gautherie e8271c9a46 [KMTESTS:FSRTL] Fix all FsRtlLargeMcbTestsFastFat() checks
Addendum to 22037684e4.

- Result: check "== FALSE" not "= TRUE".
- Report compared values, not different ones.

CORE-11819
2018-02-22 22:26:34 +01:00
Pierre Schweitzer 22037684e4
[KMTESTS:FSRTL] Add a few more tests matching MS FastFAT.
CORE-11819
2018-02-21 22:53:30 +01:00
Thomas Faber 4487284c17
[KMTESTS:FSRTL] Avoid writing to string literals. ROSTESTS-298 2018-02-21 15:17:58 +01:00
Timo Kreuzer d281d14fd1 [REACTOS] Fix a number of Get/SetWindowsLong*Ptr* issues and use GWLP_* instead of GWL_* where appropriate. 2018-02-19 22:36:36 +01:00
Mark Jansen ee7f479c57
[RTL][XDK][KERNERL32_WINETEST] Import wine actctx changes from 3.2-37c98396
This adds support for reading the trustInfo (requestedExecutionLevel),
and the compatibility (supportedOs) sections.
2018-02-19 22:23:39 +01:00
Pierre Schweitzer 215e48d0bd
[KMTESTS:CC] Addendum to 3fe0e28: use ok_irql.
CORE-14349
2018-02-18 14:51:35 +01:00
Serge Gautherie 45aa179386
[KMTESTS:IO] Fix a Clang-Cl warning about NameLength
"warning: variable 'NameLength' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]"

CORE-14306
2018-02-18 14:14:56 +01:00
Thomas Faber 0cc3f19b80
[KMTESTS:IO] Correctly free name in IoFilesystem's TestAllInformation.
Spotted by Serge Gautherie.
2018-02-18 14:14:54 +01:00
Serge Gautherie 9bc2a27393
[KMTESTS:NPFS] Fix 2 Clang-Cl warnings about ShareAccess
"warning: variable 'ShareAccess' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]"

CORE-14306
2018-02-18 14:14:52 +01:00
Pierre Schweitzer 3fe0e280b1
[KMTESTS:CC] Add IRQL tests for CcCopyRead showing that a spinlock is held during Cc IO operations.
CORE-14349
2018-02-18 14:00:38 +01:00
Thomas Faber a9ba7a3f9e
[KMTESTS] Change license to LGPL and update to SPDX headers.
Permission for this change was given by all authors
(who are now mentioned in the copyright lines).
2018-02-18 11:22:09 +01:00
Hermès Bélusca-Maïto b77840d3a2
[SHELL32_APITEST] Run the CUserNotification worker test function in a thread to copy with possible test timeouts. CORE-13177 2018-02-17 16:02:22 +01:00
Hermès Bélusca-Maïto d1265b932c
[COM_APITEST] Reenable two known interfaces (#367). Caught by Thomas. 2018-02-16 00:15:41 +01:00
Hermès Bélusca-Maïto 02d17df031
[SHELL32_APITEST] Add a test for the CUserNotification implementation. CORE-13177 2018-02-15 22:38:38 +01:00
Hermès Bélusca-Maïto 70bbdca202
[COM_APITEST] Add tests for IUserNotification. CORE-13177 2018-02-15 22:37:32 +01:00
Serge Gautherie 12b0dfb71e [APPSHIM_APITEST] Fix 2 Clang-Cl warnings about ok2
"warning: expression result unused [-Wunused-value]"

CORE-14306
2018-02-12 12:34:20 +01:00
Stanislav Motylkov fad8b1f545 [IPHLPAPI_APITEST] Add tests for IcmpSendEcho 2018-01-31 17:28:21 +00:00
Thomas Faber 478bfb484a
[KMTESTS:TCPIP] Fix ok() messages. 2018-01-31 10:38:13 +01:00
Serge Gautherie 1971137a5f [KMTEST] TcpIpConnect: Fix harmless typos (#299)
- 1 s/ok_bool_true/ok/, overkill though harmless.
- 1 s/ntohs/htons/, typo though harmless.

ROSTESTS-274
2018-01-27 11:50:10 +02:00
Giannis Adamopoulos 5b8975211d [GDIPLUS] Add it to winsxs.
[NTDLL_APITEST] Remove a hack for gdiplus
2018-01-27 02:45:50 +02:00
Giannis Adamopoulos 22317b0ca4 [NTDLL_APITEST] Remove one of the hacks for the implicit activation context. 2018-01-27 02:45:50 +02:00
Katayama Hirofumi MZ 19f8ed2b7a [GDI32_APITEST] Add GetTextMetrics tests to gdi32_apitest (#307)
CORE-13840
2018-01-26 23:23:00 +02:00
Serge Gautherie 804472fab8 [ATL_APITEST] CComObject.cpp: Fix output test name copypasta. 2018-01-24 18:59:19 +01:00
Pierre Schweitzer 89670a48ab
[WINHTTP_WINETEST] Properly re-add the ROS diff removed during last winesync.
This avoids timeouts in the winhttp:notification test.

ROSTESTS-295
CORE-14248
2018-01-24 15:56:49 +01:00
Amine Khaldi 46598fe04a [SECUR32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:45:12 +01:00
Amine Khaldi bdbc2cbf9e [SCRRUN_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:44:28 +01:00
Amine Khaldi 2f85bcc30b [REGEDIT_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:43:47 +01:00
Amine Khaldi 4a7f3bdb4e [PSAPI_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:43:04 +01:00
Amine Khaldi d1c4fe8cfb [OPENGL32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:42:20 +01:00
Amine Khaldi 173200c3cb [NETAPI32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:40:45 +01:00
Amine Khaldi d42fce3c82 [MSVCRT_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:39:53 +01:00
Amine Khaldi 64daf542b8 [CMD_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:38:00 +01:00
Amine Khaldi c16a79f47a [QUARTZ_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:34:54 +01:00
Amine Khaldi 4d8fc348d7 [QEDIT_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:32:08 +01:00
Amine Khaldi 09527f87fb [DXDIAGN_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:30:36 +01:00
Amine Khaldi 2fe88c2edd [DPLAYX_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:28:27 +01:00
Amine Khaldi c557dfb7b8 [DINPUT_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:27:32 +01:00
Amine Khaldi 819443d39d [REG_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:05:34 +01:00
Amine Khaldi d71285065d [WTSAPI32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:02:13 +01:00
Amine Khaldi 161232c08b [WSHOM_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 22:00:27 +01:00
Amine Khaldi d8772ec2ca [WLDAP32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 21:57:40 +01:00
Amine Khaldi f40fd12dfd [WININET_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-21 21:54:59 +01:00
Mark Jansen eec2e288be [APPSHIM_APITEST] Windows 10 test update 2018-01-21 21:13:08 +01:00
Mark Jansen f9395e92af [APPHELP][APPHELP_APITEST] Fix SdbGetAppPatchDir prototype 2018-01-21 21:13:08 +01:00
Mark Jansen f4f4466ffd [APPSHIM_APITEST] Add test for shims in AcLayers 2018-01-21 21:13:08 +01:00
Mark Jansen fc503b7c08 [APPSHIM_APITEST] Add test for shims in AcGenral 2018-01-21 21:13:08 +01:00
Thomas Faber cd992d022f
[USP10] Re-use script caches for the same font. CORE-14192
This significantly speeds up WM_SETTEXT in multiline edit controls.
2018-01-20 15:55:07 +01:00
Amine Khaldi 69d123ae25 [WINHTTP_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:56:09 +01:00
Amine Khaldi a5cb9a0a8d [WINDOWSCODECS_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:51:37 +01:00
Amine Khaldi 71b8c8c1e2 [WBEMPROX_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:48:13 +01:00
Amine Khaldi 41c4d894f3 [VERSION_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:43:01 +01:00
Amine Khaldi 942c426525 [VBSCRIPT_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:40:57 +01:00
Amine Khaldi eb91a73902 [URLMON_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:30:25 +01:00
Amine Khaldi a0b6db8b7f [SHLWAPI_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:27:32 +01:00
Amine Khaldi d3f4d62dde [SHDOCVW_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:19:06 +01:00
Amine Khaldi 44f07538ba [RICHED20_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:11:06 +01:00
Amine Khaldi f41035d141 [PROPSYS_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:06:43 +01:00
Amine Khaldi 5f28af7188 [OLEAUT32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:00:17 +01:00
Amine Khaldi b44b1afb81 [OLE32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:58:03 +01:00
Amine Khaldi d4c87f7aa8 [MSXML3_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:36:34 +01:00
Amine Khaldi 8e65919260 [MSVFW32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:32:30 +01:00
Amine Khaldi f860a7802c [MSI_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:30:30 +01:00
Amine Khaldi 35e6bb9199 [IMM32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:27:53 +01:00
Amine Khaldi ae5f2352bc [MMDEVAPI_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:26:57 +01:00
Amine Khaldi eeff448275 [USP10_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:23:22 +01:00
Thomas Faber 73e6bc960a
[COMCTL32] Unset the toolbar's hot item when deleting a button. CORE-14222
This fixes occasional crashes when hovering over disappearing tray icons.
2018-01-20 02:24:01 +01:00
Amine Khaldi 45ec86c442 [MSCTF_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 12:33:20 +01:00
Amine Khaldi fa31874ef7 [MSACM32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 12:32:24 +01:00
Amine Khaldi 96960b6e18 [MPR_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 12:30:38 +01:00
Amine Khaldi 44e39baf4a [MLANG_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 12:28:36 +01:00
Amine Khaldi df52b0e7e2 [JSCRIPT_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:46:30 +01:00
Amine Khaldi 0749f1d71d [INETCOMM_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:40:54 +01:00
Amine Khaldi 7b7a0e1bc9 [IMAGEHLP_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:38:42 +01:00
Amine Khaldi 7998a3f086 [HNETCFG_WINETEST] Import from Wine 3.0. CORE-14225 2018-01-19 00:31:47 +01:00
Amine Khaldi c3fa3f6079 [HLINK_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:24:20 +01:00
Amine Khaldi 70c9f30747 [GDIPLUS_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:20:03 +01:00
Amine Khaldi 9e28af3792 [FUSION_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:11:52 +01:00
Amine Khaldi 2afa4566ba [CABINET_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:07:18 +01:00
Amine Khaldi 0d320bc25f [COMCTL32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-18 23:49:50 +01:00
Colin Finck 22ffe5300b [PRINTING] Replace all my custom marshalling code by calls to the newly implemented APIs, thereby significantly reducing the codebase and providing a sane template to implement more Printing APIs. 2018-01-17 12:52:12 +01:00
Colin Finck f3ea8225cb [PRINTING] Implement the undocumented MarshallDownStructure, MarshallDownStructuresArray, MarshallUpStructure, and MarshallUpStructuresArray to the extent I need and could find out through black-box testing.
PDBs reveal that these functions are also used in winspool.drv, but not imported from spoolss.dll to retain the client/server architecture.
As winspool.drv highly benefits from the MarshallUp* functions, I put them in a source file shared between spoolss.dll and winspool.drv.

The added API Tests cover my testing and all implemented features.
One more item done from https://reactos.org/wiki/Printing !
2018-01-17 10:13:25 +01:00
Mark Jansen 4bdc74bf5d [COM_APITEST] Add zipfldr tests.
CORE-7684 #234
2017-12-31 14:56:22 +01:00
Thomas Faber 2cb0c129a6
[KMTESTS] Use KeClearEvent instead of KeResetEvent where the previous state is not needed. 2017-12-30 11:46:14 +01:00
Colin Finck 3b93ba0f31 [LOCALSPL] Fix parameter handling in LocalSetJob and add tests for the few ways we can easily test this function.
Yes, it checks the input handle and doesn't fail if an invalid level is given, because someone may still send a Command.
This also fixes CORE-12794. Thanks for reporting!
2017-12-25 14:30:47 +01:00
Mark Jansen 9187a81538 [ATL_APITEST] Add a test for CComBSTR.Attach/Detach 2017-12-25 14:00:51 +01:00
Mark Jansen bccdcded28 [ATL_APITEST] Add a test for CString.AllocSysString 2017-12-25 14:00:51 +01:00
Amine Khaldi a66bbfa92c [SHELL32_APITEST] Rename TestShellFolder, test_data and Tests. #179 2017-12-25 13:33:33 +01:00
Giannis Adamopoulos 1db8bd46d6 [NTDLL_APITEST] -Add a hacky Microsoft.Windows.GdiPlus.manifest.
This is needed because ntdlltest.manifest has a dependency
on gdiplus and won't load because we don't have it in winsxs.
Eventually this must be removed.
2017-12-24 21:19:03 +02:00
Giannis Adamopoulos 7059421a23 [NTDLL_APITEST] Add several tests for RtlDosApplyFileIsolationRedirection_Ustr 2017-12-24 21:19:03 +02:00
Mark Jansen f941c78f50 [ATL_APITEST] Show that CComObject's COM_MAP continues enumeration after a failing blind function. 2017-12-21 21:37:54 +01:00
Amine Khaldi 7ce46d59b4 [WINDOWSCODECS_WINETEST] Add a PCH. 2017-12-21 13:57:22 +01:00
Amine Khaldi d3626819e6 [MSXML3_WINETEST] Add a PCH. 2017-12-21 13:55:57 +01:00
Amine Khaldi ffd9617271 [DSOUND_WINETEST] Add a PCH. 2017-12-21 13:53:36 +01:00
Amine Khaldi 0b21a561cd [DINPUT_WINETEST] Add a PCH. 2017-12-21 13:45:22 +01:00
Amine Khaldi b09a63709b [WS2_32_APITEST] Improve the existing PCH and make use of it. 2017-12-21 13:36:04 +01:00
Amine Khaldi 823270e608 [ATL_APITEST] Add a PCH. 2017-12-21 13:31:24 +01:00
Amine Khaldi 9317220c00 [SHLWAPI_WINETEST] Add a PCH. 2017-12-20 13:36:27 +01:00
Amine Khaldi e32018ba19 [SHELL32_WINETEST] Add a PCH. 2017-12-20 13:29:32 +01:00
Amine Khaldi de6d0f24bc [OLEAUT32_WINETEST] Add a PCH. 2017-12-20 13:21:11 +01:00
Amine Khaldi 2cd1c84f7f [OLE32_WINETEST] Add a PCH. 2017-12-20 13:13:26 +01:00
Amine Khaldi a76e7d13e2 [NTDLL_WINETEST] Add a PCH. 2017-12-20 13:07:06 +01:00
Amine Khaldi 9cfa608dcf [MSVCRT_WINETEST] Add a PCH. 2017-12-20 12:57:58 +01:00
Mark Jansen cba274350e [BROWSEUI_APITEST] Add tests for IACLCustomMRU.
CORE-9281
2017-12-18 23:17:17 +01:00
Mark Jansen 8aaa5eea75 [COM_APITEST] Add IACLCustomMRU 2017-12-18 23:17:17 +01:00
Amine Khaldi 4cfc324cd1 [MSI_WINETEST] Add a PCH. 2017-12-18 13:48:13 +01:00
Amine Khaldi ba54c5644e [MSHTML_WINETEST] Add a PCH. 2017-12-18 13:43:24 +01:00
Amine Khaldi 98ca8ad114 [KERNEL32_WINETEST] Add a PCH. 2017-12-18 13:28:00 +01:00
Amine Khaldi e36cf4acaf [APITESTS][WINETESTS] Addendum to the recent PCH work. 2017-12-18 13:21:47 +01:00
Amine Khaldi 284a839dbd [COMCTL32_WINETEST] Add a PCH. 2017-12-17 13:40:43 +01:00
Amine Khaldi 8ed8eec17c [SHELL32_APITEST] Improve the existing PCH and make use of it. Convert AddCommas.c to c++ in order to have it benefit from the PCH. 2017-12-17 13:31:22 +01:00
Amine Khaldi 95ec9464d3 [GDI32_WINETEST] Add a PCH. 2017-12-17 13:20:00 +01:00
Amine Khaldi cded6efd75 [GDIPLUS_WINETEST] Add a PCH. 2017-12-17 13:14:57 +01:00
Amine Khaldi 5bd2230dc8 [CRYPT32_WINETEST] Add a PCH. 2017-12-17 12:33:39 +01:00
Amine Khaldi 0622ce1775 [COMDLG32_WINETEST] Add a PCH. 2017-12-17 12:28:41 +01:00
Amine Khaldi 71ddf5374a [ADVAPI32_WINETEST] Add a PCH. 2017-12-17 12:24:27 +01:00
Amine Khaldi 3bf31bf2ab [WIN32KNT_APITEST] Improve the existing PCH and make use of it. 2017-12-17 12:17:37 +01:00
Pierre Schweitzer 72094e637d
[KERNEL32_APITEST] Add a test for FormatMessage backed with MC file. 2017-12-16 19:43:29 +01:00
Amine Khaldi e00cc9728c [KERNEL32_APITEST] Add a PCH. 2017-12-13 13:48:26 +01:00
Amine Khaldi 3543c43252 [COM_APITEST] Improve the existing PCH and make use of it. 2017-12-12 13:01:03 +01:00
Amine Khaldi 24f8946956 [ADVAPI32_APITEST] Add a PCH. 2017-12-12 12:44:32 +01:00
Colin Finck 3a69fd4e96 [PRINTING] Fix GetPrinterW, add tests for it and GetDefaultPrinterA/W, and add a proper stub for GetPrinterDriverDirectoryA.
* Pass the correct handle to _RpcGetPrinter in GetPrinterW.
* Pass an empty string instead of a NULL pointer as wszComputerName to the GetPrinterLevel* functions, because this variable is later used as source for StringCbCopyExW.
* Don't check for GetLastError() == ERROR_SUCCESS in tests. Windows apparently only sets the last error in case of failure.
  The Printing code should probably be changed similarly in a future commit.

Should fix CORE-14072
2017-12-10 12:28:08 +01:00
Amine Khaldi eafa77f30a [GDI32_APITEST] Properly add CreateDIBPatternBrush.c to the source files list instead of relying on CMake to do so. 2017-12-09 20:03:08 +01:00
Amine Khaldi de793ea5d6 [USER32_WINETEST] Add a PCH. 2017-12-09 13:58:55 +01:00
Mark Jansen 4ac511405f [SHELL32_APITEST] Add test for SHCreateFileExtractIconW
CORE-14082
2017-12-09 11:56:42 +01:00
Serge Gautherie a11841c939
[NTDLL_APITEST] Create Test_NtFreeVirtualMemory_Parameters(). CORE-13126
- Test 4th parameter ("ULONG FreeType") invalid values.
2017-12-08 09:47:44 +01:00
Thomas Faber 4aabe88288
[NTDLL_APITEST] Add license header for NtFreeVirtualMemory.c 2017-12-08 09:47:42 +01:00
Amine Khaldi 9b349f958c [ADVAPI32_APITEST][NTDLL_APITEST][WINDOWSCODECS] Comment out some unused functions and types. Silences some clang-cl warnings. 2017-12-08 00:22:05 +01:00
Amine Khaldi 00124d1b1a [CMAKE/CLANG-CL] Silence some clang-cl warnings in consistency with our gcc build. 2017-12-07 21:53:45 +01:00
Serge Gautherie 6fe9441d32
[NTDLL_APITEST] Allow the test to load on Windows XP. ROSTESTS-293 2017-12-07 09:54:53 +01:00
Stanislav Motylkov df88fcf5cc [SHELL32_APITEST] SHParseDisplayName: More tests for relative paths 2017-12-05 10:48:37 +02:00
Stanislav Motylkov 5dade73072 [BROWSEUI_APITEST] Improve tests for relative paths 2017-12-05 10:48:37 +02:00
Stanislav Motylkov d6e0c422e1 [IPHLPAPI_APITEST] Add tests for interface resolving functions
CORE-13831, CORE-14033
2017-12-03 21:08:31 +01:00
Amine Khaldi c39b0fc667 [USER32_APITEST] Add a PCH. 2017-12-02 22:18:06 +01:00
Amine Khaldi 283bbe7346 [NTDLL_APITEST] Add a PCH. 2017-12-02 22:15:04 +01:00
Amine Khaldi aee83c359c [GDI32_APITEST] Add a PCH. 2017-12-02 22:14:47 +01:00
Thomas Faber a22031dba6
[WINHTTP_WINETEST] Skip test_persistent_connection due to hang. CORE-14056 ROSTESTS-295 2017-12-02 14:18:26 +01:00
Thomas Faber ec0b69ad40
[WININET_WINETEST] Skip test_redirect and test_persistent_connection due to hang. CORE-14055 ROSTESTS-294 2017-12-02 13:49:09 +01:00
Amine Khaldi ed3bdb44f5 [DLLIMPORT_TEST] Skip this module in the clang-cl build until framedyn is back in it. CORE-11799 2017-11-24 12:07:56 +01:00
Giannis Adamopoulos b4d691ba96 [BUTTONVISTEST] Add visual tests for buttons 2017-11-22 11:34:29 +02:00
Ged Murphy dfb776380d
[FLTMGR] Latest from my branch (#135)
[FLTMGR][KMTEST] 
Squash and push my local branch across to master as the patch is getting a bit large. This is still WIP and none of this code is run in ros yet, so don't fret if you see ugly/unfinished code or int3's dotted around.

[FLTMGR] Improve loading/reg of filters and start to implement client connections
- Implement handling of connections from clients
- Implement closing of client ports
- Add a basic message waiter queue using CSQ's (untested)
- Hand off messages for the comms object to be handled by the comms file
- Initialize the connection list
- Add a registry file which will contain lib functions for accessing filter service entries

- [KMTEST] Initial usermode support for testing FS mini-filters
- Add base routines to wrap the win32 'Filter' APis
- Add support routines to be used when testing FS filter drivers
- Move KmtCreateService to a private routine so it can be shared with KmtFltCreateService
- Completely untested at the mo, so likely contains bugs at this point
- Add support for adding altitude and flags registry entries for minifilters
- Allow minifilters to setup without requiring instance attach/detach callbacks
- Add tests for FltRegisterFilter and FltUnregisterFilter and start to add associated tests
2017-11-21 16:36:29 +00:00
Hermès Bélusca-Maïto aa04c84f62
[ROSTESTS] Move the tests unsupported by rosautotest under a "suppl" (supplementary) sub-directory of "reactos/bin".
Indeed, rosautotest has an annoying tendency to fail with:
    Invalid test file name: <testname>.exe
    SYSREG_ROSAUTOTEST_FAILURE
when <testname>.exe is a test that do not comply with the rosautotest
interface.
This is indeed the case for all the tests under /rostests/win32/, with the
exception of cmd_rostest.

Addendum to 8dd89c7.
2017-11-17 01:26:02 +01:00
Hermès Bélusca-Maïto 8dd89c7cfc
[ROSTESTS] Start adding ReactOS-owned tests for cmd.exe, based on Wine's.
CORE-7998

Based on Wine's cmd_winetest code, this first bunch of tests check how the
"for" command should process the newlines inside its parenthesed set.
Adapted by Doug Lyons.
2017-11-17 00:58:45 +01:00
Ged Murphy b10dd06aa5 [KMTEST] Initial usermode support for testing FS mini-filters (#81)
* [KMTEST] Initial usermode support for testing FS mini-filters
- Add base routines to wrap the win32 'Filter' APis
- Add support routines to be used when testing FS filter drivers
- Move KmtCreateService to a private routine so it can be shared with KmtFltCreateService
- Completely untested at the mo, so likely contains bugs at this point
2017-10-25 10:39:55 +01:00
Amine Khaldi f7932ba2de [NTDLL_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:48:05 +01:00
Amine Khaldi 6595983e83 [REGEDIT_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:47:48 +01:00
Amine Khaldi 8901d24b00 [QEDIT_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:47:37 +01:00
Amine Khaldi bff534936a [PSAPI_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:47:21 +01:00
Amine Khaldi 3ce9d8ab17 [OPENGL32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:47:02 +01:00
Amine Khaldi b8549aef08 [MMDEVAPI_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 14:10:14 +01:00
Amine Khaldi 8856b0bde3 [WMIUTILS_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 14:08:03 +01:00
Amine Khaldi ddb53a4bab [UXTHEME_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 14:01:30 +01:00
Amine Khaldi 7a90aee56c [SHLWAPI_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 14:00:13 +01:00
Amine Khaldi 684625e49f [QMGR_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:33:33 +01:00
Amine Khaldi 2f9927dddc [PDH_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:22:17 +01:00
Amine Khaldi 6c2597df71 [ODBCCP32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:15:59 +01:00
Amine Khaldi 3a06e69a11 [MSXML3_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:14:13 +01:00
Amine Khaldi 959d60f54a [MPR_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:11:27 +01:00
Amine Khaldi 68eadadcc6 [SHELL32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-19 22:30:28 +01:00
Amine Khaldi 867a81a46b [MSVCRT_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-19 22:30:16 +01:00
Amine Khaldi 9a436e2dfa [KERNEL32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-19 22:29:35 +01:00
Pierre Schweitzer 3a33ab9638 [NTDLL_APITEST] Add simple tests for RtlUnicodeStringToAnsiString() that were used to test the kernel32 regression 2017-10-16 22:04:22 +02:00
Pierre Schweitzer eb05356a26 [KERNEL32_APITEST] Add a few tests for GetVolumeInformation that were used to fix previous issues 2017-10-15 10:44:50 +02:00
Ged Murphy 9d15fb9279 Start to implement fltmgr tests [WIP] (#52)
[FLTMGR]
- Partially implement registering contexts
- Add a misc file which contains stubs of the APIs needed in the test suite
- Export some APIs needed by the test suite

[KMTESTS]
- Create a File System Mini-filter wrapper to host drivers for the filter manager tests
- Add a test file which will be used for testing that mini-filters load correctly
- Add a test file which will be used to write tests for IRP_MJ_CREATE requests
2017-10-12 15:32:30 +01:00
Amine Khaldi 561bed7b55 [ADVAPI32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-08 13:41:17 +01:00
Amine Khaldi 84ccccabe0 [WMVCORE_WINETEST] Import from Wine Staging 2.16. CORE-13762 2017-10-08 11:49:33 +01:00
Amine Khaldi 2f8e6f711c [MSI_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-08 11:31:31 +01:00
Pierre Schweitzer d788a52c79 [KERNEL32_APITEST]: Add tests for IOCTL_MOUNTDEV_QUERY_SUGGESTED_LINK_NAME that show its usage is "one-shot". Once queried, it gets forgotten. 2017-10-08 10:12:08 +02:00
Pierre Schweitzer ac8d045461 [KERNEL32_APITEST]: Rewrite DeviceIoControl to test both disk.sys and cdrom.sys 2017-10-07 14:07:06 +02:00
Pierre Schweitzer d3b4f09eb3 [KERNEL32_APITEST]: Fix uninit stack var usage 2017-10-07 12:11:17 +02:00
Pierre Schweitzer a6b61b855c [KERNEL32_APITEST]: Add few tests for IOCTL_MOUNTDEV_QUERY_UNIQUE_ID 2017-10-07 12:09:27 +02:00
Colin Finck da53a9399a [WS2_32_APITEST] Make the apitest fully C89-compliant to fix building under MSVC 2010.
In C89, you can only initialize the first member of a union within a declaration. Unfortunately, that is the S_un_b UCHAR array for the S_un union inside struct in_addr.
So we have to initialize it with each UCHAR member of Address.
2017-10-06 17:33:47 +02:00
Colin Finck 9ebf43567d Add .gitattributes and .gitignore files and normalize line endings in the repository (#10) 2017-10-04 20:37:32 +02:00
Hermès Bélusca-Maïto acdf04bad2 Add .keep guard files in order to restore lost but empty directories we had with SVN.
Note that when you start populating these directories, you can remove the associated .keep guard file(s)!
2017-10-04 10:28:36 +02:00
Hermès Bélusca-Maïto 221ed4cefe Remove unwanted .gitignore files. 2017-10-04 10:28:36 +02:00
Colin Finck 3d6040615a Make ReactOS report the Git revision as output by "git describe".
- REVISION is now something like "0.4.7-dev-53-g1304b53" instead of "r12345".
- Change WINDOWS_NT_BANNER to better represent the ReactOS version and the reported NT version.
- Introduce REACTOS_COMMIT_HASH which contains the full 40-character commit hash (for comparing revisions, e.g. in rosautotest/testman).
2017-10-03 12:55:38 +02:00
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00