Commit graph

2637 commits

Author SHA1 Message Date
Pierre Schweitzer 695beeee78 [KMTESTS:MM]
Check the first byte is really null, in spite of the hack writing.

CORE-11819
CORE-12475

svn path=/trunk/; revision=73392
2016-11-27 10:49:33 +00:00
Colin Finck 65212f3682 [LOCALSPL]
Tests show that the Print Provider functions are less forgiving and expect winspool.drv and spoolss.dll to perform the necessary sanity checks.
Also they don't default to the current environment if none was supplied as pEnvironment. Change our functions accordingly to pass the tests.

[LOCALSPL_APITEST]
Add a test to prove that spoolss.dll isn't just a forwarder, but also performs some sanity checks even though winspool.drv and localspl.dll also do.
This rather belongs to spoolss_apitest. But it needs to be tested inside the Spooler Server Process and it's not worth it to copy all the DLL injection code to spoolss_apitest just for a single test.

[SPOOLSS]
Check for an invalid buffer in GetPrintProcessorDirectoryW.

[WINSPOOL]
* Check the level before the RPC call in GetPrintProcessorDirectoryW.
* Supply our current environment if the caller didn't give any in EnumPrintProcessorsW and GetPrintProcessorDirectoryW.
* Implement GetPrintProcessorDirectoryA.

[WINSPOOL_APITEST]
Prove that pcbNeeded isn't touched when calling GetPrintProcessorDirectoryW with an invalid level.


ReactOS now passes all API tests for GetPrintProcessorDirectoryA and GetPrintProcessorDirectoryW. These tests also cover all known behaviors of both functions.
CORE-12399

svn path=/trunk/; revision=73373
2016-11-24 19:24:27 +00:00
Amine Khaldi 07d9832b5f [WININET_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73361
2016-11-23 18:11:04 +00:00
Amine Khaldi 58a1e88856 [WINHTTP_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73358
2016-11-23 12:00:25 +00:00
Amine Khaldi f5a2b4ee5d [JSCRIPT_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73355
2016-11-23 10:09:03 +00:00
Amine Khaldi 81461b5470 [CRYPT32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73347
2016-11-22 17:09:34 +00:00
Amine Khaldi 6b17088fa1 [RPCRT4_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73344
2016-11-22 13:13:22 +00:00
Amine Khaldi 6c3bba2b11 [MSI_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73340
2016-11-22 12:26:43 +00:00
Amine Khaldi 08824abdc1 [COMDLG32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73338
2016-11-22 12:17:19 +00:00
Amine Khaldi 722d054541 [COMCTL32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73336
2016-11-22 12:11:38 +00:00
Pierre Schweitzer 9951d766cc [KMTESTS:MM]
This tests doesn't fail anylonger on ReactOS (not sure which rev fixed it)

ROSTESTS-108

svn path=/trunk/; revision=73328
2016-11-20 20:58:22 +00:00
Pierre Schweitzer 49691778cd [KMTESTS:MM]
Thanks to r73325, these tests don't deadlock anymore on ReactOS. Enable them again (aka, revert r73227).

ROSTESTS-248

svn path=/trunk/; revision=73326
2016-11-20 18:42:15 +00:00
Amine Khaldi bc95e1f73c [WSHOM_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73320
2016-11-17 23:56:32 +00:00
Amine Khaldi d65aa5dd2f [RSAENH_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73319
2016-11-17 23:54:08 +00:00
Amine Khaldi a02e2eb1aa [SCRRUN_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73318
2016-11-17 23:52:31 +00:00
Amine Khaldi 1f354adf5e [SETUPAPI_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73317
2016-11-17 23:49:54 +00:00
Amine Khaldi 12edc3f68c [IMM32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73316
2016-11-17 23:47:11 +00:00
Amine Khaldi a16217bd9d [REGEDIT_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73315
2016-11-17 23:39:22 +00:00
Amine Khaldi bcbf704a5d [GDI32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73314
2016-11-17 23:36:54 +00:00
Amine Khaldi 01e37dce52 [XMLLITE_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73312
2016-11-17 23:31:04 +00:00
Amine Khaldi b623cc77d2 [XINPUT1_3_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73310
2016-11-17 23:29:18 +00:00
Amine Khaldi a63f1b60f6 [WINTRUST_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73307
2016-11-17 23:26:31 +00:00
Amine Khaldi b81dc9c21f [WINDOWSCODECS_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73304
2016-11-17 23:23:38 +00:00
Amine Khaldi 0d6ecb3255 [WBOMPROX_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73301
2016-11-17 23:19:20 +00:00
Amine Khaldi fa6326df88 [VBSCRIPT_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73299
2016-11-17 23:16:08 +00:00
Amine Khaldi d110b7df27 [USP10_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73297
2016-11-17 23:13:43 +00:00
Amine Khaldi 10570fa49e [URLMON_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73295
2016-11-17 23:11:50 +00:00
Amine Khaldi 06ccd81758 [SHLWAPI_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73291
2016-11-17 23:07:24 +00:00
Amine Khaldi 0b209bd3b4 [RICHED20_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73289
2016-11-17 23:05:13 +00:00
Amine Khaldi e1e4c63781 [OLEAUT32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73286
2016-11-17 22:59:30 +00:00
Amine Khaldi 3720284204 [MSCTF_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73281
2016-11-17 22:50:52 +00:00
Amine Khaldi bc96e9183b [MSACM32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73279
2016-11-17 22:49:19 +00:00
Amine Khaldi 8004c858f3 [MMDEVAPI_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73277
2016-11-17 22:47:02 +00:00
Amine Khaldi a2a3c645f6 [INETCOMM_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73273
2016-11-17 22:39:46 +00:00
Amine Khaldi 35d175df70 [GDIPLUS_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73271
2016-11-17 22:37:09 +00:00
Amine Khaldi d10ad38516 [FUSION_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73268
2016-11-17 22:28:40 +00:00
Amine Khaldi d23c9ec3c5 [CMD_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73265
2016-11-17 22:23:43 +00:00
Colin Finck aa84b232e5 [LOCALSPL_APITEST]
Add a test for fpGetPrintProcessorDirectory, the actual worker function inside localspl.dll at the end of the call chain.
With that final test, we should have enough information to implement 100% compatible versions of GetPrintProcessorDirectoryA/W and fpGetPrintProcessorDirectory.

[WINSPOOL_APITEST]
Initialize some more variables with bogus values to verify that they have actually changed.

Next step for CORE-12399

svn path=/trunk/; revision=73264
2016-11-17 22:23:28 +00:00
Amine Khaldi 180da765bc [BCRYPT_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73263
2016-11-17 22:22:21 +00:00
Amine Khaldi a0293288a2 [AVIFIL32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73258
2016-11-17 22:06:10 +00:00
Amine Khaldi a5b9d1f8e8 [DINPUT_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73254
2016-11-17 22:00:07 +00:00
Amine Khaldi ff822fa7da [D3DRM_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
svn path=/trunk/; revision=73253
2016-11-17 21:59:05 +00:00
Colin Finck e12ad8d673 [WINSPOOL_APITEST]
GetPrintProcessorDirectory.c: fix 4 error messages (s/cbNeeded/cbTemp/).
By Serge Gautherie

svn path=/trunk/; revision=73248
2016-11-17 21:30:45 +00:00
Colin Finck 5fd4223870 [WINPRINT_APITEST]
Load all functions to test dynamically from either winprint.dll in the Print Processor Directory (for ReactOS and NT6) or localspl.dll in the system path (for NT5).
Should fix winprint_apitest on ReactOS and Windows Server 2003.

svn path=/trunk/; revision=73247
2016-11-17 21:24:07 +00:00
Amine Khaldi bdf445d754 [WLANAPI_APITEST] Bring these tests back home.
svn path=/trunk/; revision=73242
2016-11-17 13:46:36 +00:00
Colin Finck e53a72c351 [LOCALSPL_APITEST]
Fix some NULL vs. INVALID_HANDLE_VALUE checks.
Now localspl_apitest.exe should properly quit when it cannot find its DLL.

svn path=/trunk/; revision=73239
2016-11-16 14:59:01 +00:00
Colin Finck 8f3b3eb6e2 [WINSPOOL_APITEST]
Add tests for GetPrintProcessorDirectoryA and another one for GetPrintProcessorDirectoryW.
Tested against Windows Server 2003 SP2.

Step 1 for CORE-12399

svn path=/trunk/; revision=73238
2016-11-16 08:54:54 +00:00
Giannis Adamopoulos 4a5fe31949 [SHELL32_APITEST] - Add a test for CShellDesktop to show what breaks the select folder dialog.
svn path=/trunk/; revision=73235
2016-11-15 14:08:57 +00:00
Mark Jansen 1a9744d406 [ADVAPI32][ADVAPI32_APITEST] Fix incorrect parameter output uncovered by CORE-12333 #comment Please retest!
svn path=/trunk/; revision=73228
2016-11-13 18:11:14 +00:00
Thomas Faber a9805facab [KMTESTS:MM]
- Skip NtCreateSection tests since they hang on testbot.
ROSTESTS-248

svn path=/trunk/; revision=73227
2016-11-13 16:42:16 +00:00