reactos/rostests
Colin Finck f2a66788f8 [LOCALSPL_APITEST]
Write an API-Test for localspl.dll. As the original localspl.dll from Windows Server 2003 relies on proper initialization inside spoolsv.exe, we cannot test it standalone as usual.
To make testing possible anyway, this program basically does four things:

  - Injecting our testing code into spoolsv.exe.
  - Registering and running us as a service in the SYSTEM security context like spoolsv.exe, so that injection is possible at all.
  - Sending the test name and receiving the console output over named pipes.
  - Redirecting the received console output to stdout again, so it looks and feels like a standard API-Test.

Nevertheless, the testing code in fpEnumPrinters.c is still written like a usual test. The known ok(), skip(), etc. macros can be used as usual, their output is just redirected through the named pipes.
Thanks to Thomas for giving me the tip about injecting code into spoolsv! :)

svn path=/branches/colins-printing-for-freedom/; revision=68080
2015-06-08 17:15:44 +00:00
..
apitests [LOCALSPL_APITEST] 2015-06-08 17:15:44 +00:00
dibtests * Addendum to r60650. 2013-10-13 23:12:09 +00:00
drivers [TCPIP_DRVTEST] Temporarily fix build. 2015-01-21 18:38:26 +00:00
dxtest * Addendum to r55855. 2012-02-25 17:23:58 +00:00
kmtests [KMTESTS:IO] 2015-05-01 12:50:12 +00:00
regtests * Addendum to r55855. 2012-02-25 17:23:58 +00:00
rosautotest [ROSAUTOTEST] 2015-03-22 12:35:08 +00:00
testdata [REACTOS]: Add a "testdata" subdirectory in %SystemRoot%\bin\ where you can put all needed extra files for the tests. In addition, all the files present in your rostests\testdata local directory of your working copy are also copied into %SystemRoot%\bin\testdata . 2015-04-26 17:47:55 +00:00
tests [PARTTEST] 2014-11-10 18:26:34 +00:00
win32 [TUNNELTEST] 2014-03-30 18:25:13 +00:00
winetests [SETUPAPI_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246 2015-05-03 11:33:46 +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 [REACTOS]: Add a "testdata" subdirectory in %SystemRoot%\bin\ where you can put all needed extra files for the tests. In addition, all the files present in your rostests\testdata local directory of your working copy are also copied into %SystemRoot%\bin\testdata . 2015-04-26 17:47:55 +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