reactos/rostests
Colin Finck 1e363204d6 [LOCALSPL_APITEST]
- Add more tests for fpEnumPrinters.
  For some reason, using SEH here works only once. We experience a hang in the testing process when you run the test again for a second time without restarting spoolsv. Needs more investigation.
- Ensure that the spooler service is running before starting any testing.
- Do proper cleanup in every case.

[LOCALSPL]
- Implement LocalEnumPrinters level 1 based on the API-Tests.
- Use DllAllocSplMem/DllFreeSplMem instead of HeapAlloc/HeapFree.
- Use AllocSplStr with DllFreeSplStr now that DuplicateStringW is gone.
- Use _countof where applicable.

[SPOOLSS]
- Found out that I was not the only one needing a wcsdup equivalent. My DuplicateStringW from localspl is actually exported as AllocSplStr in spoolss.
  This is actually part of a range of undocumented memory functions in spoolss, so implement and document AllocSplStr, DllAllocSplMem, DllFreeSplMem, DllFreeSplStr, ReallocSplMem and ReallocSplStr.
  Information about some of them was gathered through black box testing and DDK samples (down to Win95 DDK), which at least contained prototypes of them.
- Implement SplInitializeWinSpoolDrv based on the API-Test and simply return FALSE for SplIsUpgrade.

[SPOOLSS_APITEST]
- Add a test for ReallocSplStr, which was actually the most undocumented function of spoolss' memory functions.

[WINSPOOL]
SplInitializeWinSpoolDrv shows that we can't just auto-assign an ordinal to all winspool.drv functions. We even need to export some nameless functions by ordinal only.
Redo the whole .spec file based on the ordinals found in Windows Server 2003's winspool.drv. Trust WINE for the nameless stubs.

svn path=/branches/colins-printing-for-freedom/; revision=68089
2015-06-09 13:22:25 +00:00
..
apitests [LOCALSPL_APITEST] 2015-06-09 13:22:25 +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