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
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
gditools
include
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
ntdll [NTDLL_APITEST] 2016-11-10 10:18:25 +00:00
ole32
pefile
powrprof
psapi
sdk [SDK][SDK_APITEST] Improve delayload support CORE-10935 2016-04-23 20:38:06 +00:00
setupapi
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
user32 [USER32_APITEST] 2016-10-04 15:37:25 +00:00
user32_dynamic
win32kdll
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
wininet
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