Commit graph

191 commits

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