Hermès Bélusca-Maïto
b17ce9c805
[NTDLL_APITEST]: Temporarily disable part of the NtLoad/UnloadKey test (related to force-unload a hive while some handles to subkeys are still opened), because this creates memory corruptions, due to the fact we currently don't perform force-unloads correctly.
...
CORE-13448
svn path=/trunk/; revision=75138
2017-06-19 19:50:49 +00:00
Mark Jansen
8f2f019415
[APPSHIM_APITEST] Addendum to r75041, add a missed line.
...
svn path=/trunk/; revision=75131
2017-06-19 15:24:05 +00:00
Colin Finck
a82d7577b3
[PRINTING]
...
- Implement GetPrinterDataA, GetPrinterDataExA, GetPrinterDataExW, GetPrinterDataW, SetPrinterDataA, SetPrinterDataExA, SetPrinterDataExW, SetPrinterDataW.
They support all features for Print Server and Printer Handles (minus security checks!)
I've also added tests for them.
- Store Printer data in SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers instead of SYSTEM\CurrentControlSet\Control\Print\Printers and create a registry symlink from the former path to the new one just like Windows does.
According to https://social.technet.microsoft.com/Forums/windowsserver/en-US/a683ab54-c43c-4ebe-af8f-1f7a65af2a51 , this is needed when having >900 printers to work around a size limit of the SYSTEM registry hive. And if Windows has both locations, we need both for compatibility anyway.
- Add several settings which are queried by the new Printer Data APIs when working with Print Server Handles.
- Store the job directory in the Windows-compatible "DefaultSpoolDirectory" setting and make use of it.
- Revert the ASSERTs in LocalEnumPrinters again to let us verify the NULL pointer exceptions in localspl_apitest (thanks Serge! CORE-13433)
- Translate ERROR_INVALID_NAME to ERROR_INVALID_PRINTER_NAME in all cases in OpenPrinterW (thanks Victor! CORE-13412)
- Make EnumMonitorsW and EnumPortsW in spoolss more robust against failing Print Monitors.
- Remove the wrong !phPrinter check in OpenPrinterW to make Print Server Handles work for real.
- Fix error handling when memory allocation fails: HeapAlloc doesn't set last error, so it's just wrong to query or return it.
One more item done from https://reactos.org/wiki/Printing !
This is all still a big Work-in-Progress, with many subtle bugs deep down in ReactOS, for which I need to open additional tickets. But I didn't want to make this commit even bigger..
svn path=/trunk/; revision=75125
2017-06-19 14:18:19 +00:00
Thomas Faber
6bea3b076d
[KMTESTS:MM]
...
- Test unaligned address and addresses close to MmHighestUserAddress in MmMapLockedPagesSpecifyCache test
CORE-13444
svn path=/trunk/; revision=75084
2017-06-18 08:00:29 +00:00
Thomas Faber
d88cd4165d
[PSDK]
...
- Properly add NTSTATUS code
svn path=/trunk/; revision=75081
2017-06-17 20:26:53 +00:00
Hermès Bélusca-Maïto
7f8dc7dfcc
Just use REG_FORCE_UNLOAD since we're at it.
...
svn path=/trunk/; revision=75079
2017-06-17 20:13:17 +00:00
Hermès Bélusca-Maïto
9808e1ee19
[NTDLL_APITEST]: Add tests for NtLoadKey and NtUnloadKey.
...
CORE-13448
svn path=/trunk/; revision=75078
2017-06-17 20:08:48 +00:00
Thomas Faber
8c8f34f7fd
[KMTESTS:MM]
...
- In the MmMapLockedPagesSpecifyCache test, try to allocate & free memory or unmap a section view in the mapped buffer space
CORE-13444
svn path=/trunk/; revision=75057
2017-06-16 11:06:33 +00:00
Mark Jansen
272bc3ef9f
[APITEST] Move RedirectIat into it's own header so that it can be used from multiple tests.
...
svn path=/trunk/; revision=75041
2017-06-14 15:25:04 +00:00
Thomas Faber
b5cdb03dd8
[DEVENUM_WINETEST]
...
- Fix return value check for IEnumMoniker_Next. Fixes crash when running the test without renderers installed (as is the case on ROS).
CORE-13421 #resolve
svn path=/trunk/; revision=75030
2017-06-14 06:44:39 +00:00
Thomas Faber
82284116fa
[KMTESTS]
...
- Add test for hidparse's descriptor parsing
CORE-11538
svn path=/trunk/; revision=75017
2017-06-13 05:48:28 +00:00
Mark Jansen
3a302c5330
[APPHELP_APITEST] Addendum to r74986, make the test work on win7. CORE-13284
...
svn path=/trunk/; revision=75004
2017-06-11 13:09:43 +00:00
Mark Jansen
b8ea78efa1
[WIN32NT_APITEST] Do not assert on a driver without DirectX support.
...
svn path=/trunk/; revision=75001
2017-06-11 11:47:41 +00:00
Mark Jansen
2366903f94
[COMCTL32_IMAGELIST] Prevent dereferencing a null pointer.
...
svn path=/trunk/; revision=74998
2017-06-11 11:08:32 +00:00
Mark Jansen
7583b2b298
[WIN32KNT_APITEST] Do not assert on the result of an unimplemented function.
...
svn path=/trunk/; revision=74996
2017-06-11 08:51:36 +00:00
Mark Jansen
be0666cf16
[APPHELP_APITEST] Add tests for ApphelpCheckRunApp[Ex], SdbGetMatchingExe, Sdb[Un]PackAppCompatData. CORE-13284
...
svn path=/trunk/; revision=74986
2017-06-10 20:31:58 +00:00
Mark Jansen
1b27b462ec
[SHLWAPI_APITEST] Add PathFindOnPath tests. Patch by Katayama Hirofumi MZ. ROSTESTS-283 #comment Thanks!
...
svn path=/trunk/; revision=74984
2017-06-10 19:41:31 +00:00
Mark Jansen
d4db41b968
Addendum to r74982, remove some debugging code.
...
svn path=/trunk/; revision=74983
2017-06-10 17:47:56 +00:00
Mark Jansen
20cbe80c85
[SHELL32_APITEST] Add tests for PathResolve. Patch by Katayama Hirofumi MZ. CORE-12665 #comment Thanks!
...
svn path=/trunk/; revision=74982
2017-06-10 17:46:11 +00:00
Thomas Faber
c16f5dc411
[USER32_WINETEST]
...
- Hackfix crash in user32:clipboard test due to NULL pointer returned from GetClipboardData.
svn path=/trunk/; revision=74974
2017-06-09 14:08:50 +00:00
Pierre Schweitzer
1ac1c1b261
[KMTESTS:MM]
...
When testing noncached mapping, use MmAllocateNonCachedMemory() as suggested by Thomas to avoid later potential failures
svn path=/trunk/; revision=74967
2017-06-08 20:16:34 +00:00
Hermès Bélusca-Maïto
7384a6a1d5
[GDI32_APITEST]: Fix the "missing braces around initializer" GCC error that I've introduced in r74962.
...
svn path=/trunk/; revision=74966
2017-06-08 19:09:01 +00:00
Hermès Bélusca-Maïto
349d9f652b
[ADVAPI32_WINETEST]: Fix compilation with MSVC 2010 (guarded via __REACTOS__).
...
svn path=/trunk/; revision=74963
2017-06-08 17:04:24 +00:00
Hermès Bélusca-Maïto
72c5e65e8c
[GDI32_APITEST]: Fix compilation under MSVC 2010.
...
svn path=/trunk/; revision=74962
2017-06-08 17:00:55 +00:00
Pierre Schweitzer
453fae7f31
[KMTESTS:MM]
...
Make MmMapLockedPagesSpecifyCache a bit more robust. Based on Thomas' suggestions
svn path=/trunk/; revision=74955
2017-06-08 06:44:48 +00:00
Mark Jansen
2252393eeb
[KERNEL32_WINETEST] Kill process that hangs on an unimplemented feature.
...
svn path=/trunk/; revision=74947
2017-06-07 20:40:42 +00:00
Giannis Adamopoulos
759a452d44
[COMCTL32_APITEST] -Make comctl32v5.manifest really point to the v5 library.
...
svn path=/trunk/; revision=74929
2017-06-05 21:50:21 +00:00
Peter Hater
d70eb21b6b
[WINETESTS] Avoid canceling the test when Samba is not installed and NTLM authentication is tested
...
svn path=/trunk/; revision=74927
2017-06-05 19:27:50 +00:00
Giannis Adamopoulos
3767fcf5cc
Fix gcc build.
...
svn path=/trunk/; revision=74924
2017-06-05 14:40:48 +00:00
Giannis Adamopoulos
0cfb73fce3
[COMCTL32_APITEST] -Add tests for CCM_GETVERSION and CCM_SETVERSION for the v5 and v6 toolbar control.
...
svn path=/trunk/; revision=74923
2017-06-05 14:25:37 +00:00
Hermès Bélusca-Maïto
93cfc03633
[SETUPAPI]: Fix a 9-year old bug in the SETUP_CreateClassKey() logic, introduced in r31860, that set a wrong Class name value if the corresponding registry key already existed. The bug was unveiled by my commit r74761.
...
[SETUPAPI_APITEST]: When selecting another test_class_guid and test_class_name couple via SetupDiClassNameFromGuidA(), check whether this function actually succeeds. Also, improve some error output.
svn path=/trunk/; revision=74916
2017-06-04 18:16:24 +00:00
Amine Khaldi
8fa7e9eda7
[ADVAPI32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74911
2017-06-04 14:57:35 +00:00
Amine Khaldi
29d9f9eb31
[USER32_WINETEST] Sync with Wine Staging 2.9 except win.c. CORE-13362
...
svn path=/trunk/; revision=74909
2017-06-04 14:34:15 +00:00
Amine Khaldi
e7bfd19443
[KERNEL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74908
2017-06-04 14:29:15 +00:00
Amine Khaldi
09cb26ed2e
[RPCRT4_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74905
2017-06-04 14:02:01 +00:00
Amine Khaldi
afc72d800f
[COMCTL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74903
2017-06-04 12:53:30 +00:00
Amine Khaldi
92e558732b
[UXTHEME_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74890
2017-06-04 01:52:19 +00:00
Amine Khaldi
3145e7c7c1
[SHELL32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74889
2017-06-04 01:52:12 +00:00
Amine Khaldi
fca7431a53
[SETUPAPI_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74886
2017-06-04 01:51:43 +00:00
Amine Khaldi
6c88bfb14d
[SERVICES_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74885
2017-06-04 01:51:25 +00:00
Amine Khaldi
f0f266a71d
[SECUR32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74884
2017-06-04 01:51:16 +00:00
Amine Khaldi
4a981826c1
[MSVCRT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74882
2017-06-04 01:50:58 +00:00
Amine Khaldi
05343d6328
[GDI32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74881
2017-06-04 01:50:46 +00:00
Amine Khaldi
ed4906ee50
[REG_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74880
2017-06-04 01:50:37 +00:00
Amine Khaldi
7bd43aa322
[WSCRIPT_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74879
2017-06-04 01:50:30 +00:00
Amine Khaldi
8f32e01d63
[WS2_32_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74878
2017-06-04 01:50:24 +00:00
Amine Khaldi
3e7b57d242
[WINSPOOL_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74875
2017-06-04 01:50:00 +00:00
Amine Khaldi
8e8a5efa43
[WINMM_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74874
2017-06-04 01:49:55 +00:00
Amine Khaldi
4c2c978917
[XMLLITE_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74873
2017-06-04 01:49:50 +00:00
Amine Khaldi
2464924026
[WININET_WINETEST] Sync with Wine Staging 2.9. CORE-13362
...
svn path=/trunk/; revision=74868
2017-06-04 01:49:09 +00:00