reactos/rostests/apitests/winprint/testlist.c
Colin Finck 1e4d261c62 [PRINTING]
Add an include directory for all printing components containing definitions not found in the public headers.
For now, that's just PackStrings in spoolss.h.

[SPOOLSS_APITEST]
Use the new spoolss.h header.

[WINPRINT_APITEST]
Add an API-Test for the winprint Print Processor, so far for its EnumPrintProcessorDatatypesW function. Tests succeed in Windows Server 2003.
winspool.drv also provides functions that go into winprint.dll, but as these tests show, they behave slightly different in terms of error codes due to the involved RPC and routing.
Windows Server 2003 has winprint functions in localspl.dll, so you have to copy its localspl.dll to winprint.dll for testing.

[WINPRINT]
- Use PackStrings to simplify the code.
- Fix test failures.

svn path=/branches/colins-printing-for-freedom/; revision=68025
2015-06-05 18:16:51 +00:00

33 lines
1.1 KiB
C

/*
* PROJECT: ReactOS Standard Print Processor API Tests
* LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
* PURPOSE: Test list
* COPYRIGHT: Copyright 2015 Colin Finck <colin@reactos.org>
*/
/*
* These tests are developed and tested against the Windows Server 2003 counterpart of winprint.
* While ReactOS implements the Standard Print Processor in a separate module winprint.dll,
* Windows Server 2003 puts it into the Local Print Spooler localspl.dll.
*
* To test against Windows, simply run these tests under Windows Server 2003, but copy its
* localspl.dll to winprint.dll in advance.
*
* winspool.drv also provides functions that go into winprint.dll, but as these tests show,
* they behave slightly different in terms of error codes due to the involved RPC and routing.
*/
#define __ROS_LONG64__
#define STANDALONE
#include <apitest.h>
extern void func_EnumPrintProcessorDatatypesW(void);
const struct test winetest_testlist[] =
{
{ "EnumPrintProcessorDatatypesW", func_EnumPrintProcessorDatatypesW },
{ 0, 0 }
};