reactos/rostests
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
..
apitests [LOCALSPL] 2016-11-24 19:24:27 +00:00
dibtests * Addendum to r60650. 2013-10-13 23:12:09 +00:00
drivers Remove extra ending semicolons in our C code base. 2016-08-11 16:50:41 +00:00
dxtest * Addendum to r55855. 2012-02-25 17:23:58 +00:00
kmtests [KMTESTS:MM] 2016-11-20 20:58:22 +00:00
regtests * Addendum to r55855. 2012-02-25 17:23:58 +00:00
rosautotest [REACTOS]: Do not gather all the generated message resource files in the same directory (sdk/include/reactos/), so that to avoid potential file collisions, but instead place them into their respective per-target directories. 2016-09-28 23:20:20 +00:00
testdata [ROSTESTS] 2015-08-10 11:42:19 +00:00
tests [REGDUMP] 2016-10-12 12:41:31 +00:00
win32 [REACTOS]: Do not gather all the generated message resource files in the same directory (sdk/include/reactos/), so that to avoid potential file collisions, but instead place them into their respective per-target directories. 2016-09-28 23:20:20 +00:00
winetests [WININET_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409 2016-11-23 18:11:04 +00:00
.gitignore Create a branch for Thomas Faber's work on creating a kernel mode test suite for the Google Summer of Code project 2011-05-06 13:25:33 +00:00
CMakeLists.txt But do not compile by default those extra tests. Colin, it is curious that when rosautotest encounters a test EXE that it doesn't like, it just completely bails out the test session. This should be fixed/behaviour improved. 2016-02-12 15:24:30 +00:00
COPYING Create a branch for Thomas Faber's work on creating a kernel mode test suite for the Google Summer of Code project 2011-05-06 13:25:33 +00:00
readme.txt [ROS***]: Add few more information in the readme's. 2015-01-29 00:15:35 +00:00

====================
ReactOS Tests
====================

This directory contains various tests for ReactOS.
Make sure you also have a copy of the rest of the ReactOS
source before you attempt to build anything in this module.
It is to be placed under "modules" subdirectory of a trunk checkout.
No additional changes to build files are necessary, it'll be picked up
automatically.

To include "rostests" in your build folder:
1. Copy the rostests folder into the reactos\modules folder, or
2. Link reactos/modules/rostests to rostests

# For Windows users

    cd %%_ROSSOURCEDIR%%\reactos\modules
    mklink /j rostests %%_ROSSOURCEDIR%%\rostests

# For UNIX users

    cd \$$_ROSSOURCEDIR/reactos/modules
    ln -s \$$_ROSSOURCEDIR/rostests rostests