reactos/rostests/apitests
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
..
advapi32 [ADVAPI32][ADVAPI32_APITEST] Fix incorrect parameter output uncovered by CORE-12333 #comment Please retest! 2016-11-13 18:11:14 +00:00
apphelp [APPHELP][APPHELP_APITEST] Update db apitests to succeed from 2k3 to 10, paving the way for the next set of tests. 2016-10-30 19:39:43 +00:00
appshim [APPSHIM_APITEST] Show a few shims that do not use hooks to function. 2016-06-04 14:51:38 +00:00
atl [ATL][ATL_APITEST] Implementation / fixes for varions CRegKey functions, by Katayama Hirofumi MZ. CORE-11746 #resolve 2016-10-17 12:50:54 +00:00
browseui [BROWSEUI_APITEST] Add tests for ACListISF, a class used for autocompletion. CORE-9281 2016-05-16 18:03:09 +00:00
com [COM_APITEST] 2016-11-06 18:04:58 +00:00
crt [CRT_APITEST] Add tests for __getmainargs, testing a commandline ending with spaces. Patch by Yaroslav Veremenko CORE-9199 2016-09-21 19:26:47 +00:00
dciman32 [CMAKE] 2014-10-17 23:29:24 +00:00
dnsapi [DNSAPI_APITEST] Add more tests for DnsQuery_A/W. By Peter Hater. ROSTESTS-242 2016-09-30 15:23:25 +00:00
fltlib [FLTLIB_APITEST] 2016-08-09 21:23:40 +00:00
gdi32 Caught out by unix again 2015-12-08 22:18:41 +00:00
gditools [GDITOOLS] 2015-12-28 20:53:34 +00:00
include [APITESTS] 2015-06-20 08:51:07 +00:00
iphlpapi [IPHLPAPI_APITEST] Add some tests for GetNetworkParams. By Peter Hater. ROSTESTS-244 2016-09-28 14:27:48 +00:00
kernel32 [KERNEL32_APITEST]: SetConsoleWindowInfo test: 2016-10-18 17:44:23 +00:00
localspl [LOCALSPL] 2016-11-24 19:24:27 +00:00
msgina Remove extra ending semicolons in our C code base. 2016-08-11 16:50:41 +00:00
msvcrt [MSVCRT] 2015-10-24 08:20:05 +00:00
ntdll [NTDLL_APITEST] 2016-11-10 10:18:25 +00:00
ole32 [OLE32_APITEST] Add test for IInitializeSpy. By Mark Jansen. See ROSTESTS-175 for more details. 2015-06-08 11:05:35 +00:00
pefile [PEFILE:APITEST]: Validate IMAGE_SCN_MEM_NOT_PAGED flag for PE files. By Mark Jansen. CORE-10160 2015-09-12 13:08:47 +00:00
powrprof [POWRPROF_APITEST] 2013-09-23 21:45:58 +00:00
psapi [CMAKE] 2014-10-17 23:29:24 +00:00
sdk [SDK][SDK_APITEST] Improve delayload support CORE-10935 2016-04-23 20:38:06 +00:00
setupapi [SETUPAPI_APITEST] Add tests for SetupDiInstallClassExA and SetupInstallServicesFromInfSectionEx. Brought to you by Victor Martinez with some changes by me. ROSTESTS-157 2015-03-30 21:08:47 +00:00
shell32 [SHELL32_APITEST] - Add a test for CShellDesktop to show what breaks the select folder dialog. 2016-11-15 14:08:57 +00:00
spoolss [LOCALSPL_APITEST] 2015-06-09 13:22:25 +00:00
user32 [USER32_APITEST] 2016-10-04 15:37:25 +00:00
user32_dynamic [USER32_DYNAMIC] 2015-11-20 17:27:27 +00:00
win32kdll [WIN32KDLL_2K3SP2] 2015-12-28 23:51:05 +00:00
win32nt [WIN32KNT_APITEST] Add some tests for GET/SET NONCLIENTMETRICS, MINIMIZEDMETRICS, ICONMETRICS. It is checked in win2k3 2016-09-10 18:36:56 +00:00
winhttp [CMAKE] 2016-03-27 15:14:32 +00:00
wininet [CMAKE] 2016-03-27 15:14:32 +00:00
winprint [WINPRINT_APITEST] 2016-11-17 21:24:07 +00:00
winspool [LOCALSPL] 2016-11-24 19:24:27 +00:00
wlanapi [WLANAPI_APITEST] Bring these tests back home. 2016-11-17 13:46:36 +00:00
ws2_32 [WS2_32_APITEST] 2016-11-13 14:54:06 +00:00
CMakeLists.txt [WLANAPI_APITEST] Bring these tests back home. 2016-11-17 13:46:36 +00:00