Commit Graph

46 Commits

Author SHA1 Message Date
Serge Gautherie 930ff8786f winapi_test: Add DYNAMIC_TIME_ZONE_INFORMATION to tests.dat.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-13 21:33:30 +02:00
Serge Gautherie 867a0bd6cd winapi_test: Tests.dat needs timezoneapi.h.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-13 21:33:30 +02:00
Bernhard Übelacker c0646664d4 include: Fix packing of digitalv.h. 2015-08-03 10:56:16 +02:00
André Hentschel 8d4917e865 include: Add IMAGE_LOAD_CONFIG_DIRECTORY64 definition. 2015-06-24 15:37:02 +09:00
Jacek Caban 06246aff90 rpcrt4: Compile tests with -D__WINESRC__. 2013-11-08 16:29:43 +01:00
André Hentschel 94d8e3ab68 tools/winapi: Remove PCTSTR, PTSTR and TCHAR from the list of tested types. 2013-11-06 12:01:52 +01:00
Michael Stefaniuc 3101b50121 winmm/tests: Fix the includes for generated.c. 2013-10-31 09:58:43 +01:00
Dmitry Timoshkov 352c8d0215 tools/winapi: Remove OLDFONTENUMPROC from the list of tested types. 2013-10-16 11:41:20 +02:00
Alexandre Julliard 4a1379d804 include: The FLOATING_SAVE_AREA type is i386-specific. 2010-10-20 18:37:09 +02:00
Eric Pouech e9e6845d66 winmm: Added a couple of tests for structure alignment. 2010-06-28 11:45:23 +02:00
Ilya Basin fcba272391 include: Fix packing bug in shlobj.h. pragma pack 8 for ITEMSPACING, CSFV, SFV_CREATE. 2010-06-28 11:42:12 +02:00
Alexandre Julliard b141e6e33b winapi: Add a few more types to the ntdll generated tests. 2010-04-07 18:04:00 +02:00
Francois Gouget 2e668d2572 winapi_test: Updated so the generated tests work. 2009-01-08 12:42:12 +01:00
Rob Shearman 52911fc66c include: Update the MIDL_STUB_MESSAGE structure.
Reduce the size of the IsClient field, as is done in the latest SDKs
to fix NdrClientInitializeNew tests on XP SP3 and Win2003+.
2008-06-19 11:54:49 +02:00
Alexandre Julliard b8a2e3b8a4 user32: Renamed the user/ directory to user32. 2006-11-16 14:49:25 +01:00
Alexandre Julliard 7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00
Ge van Geldorp d642e11438 winapi_test: Regenerate tests.
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02:00
Mike McCormack 1cf527c3a3 winapi: IMAGE_OPTIONAL_HEADER has different members on x86-64. 2006-05-26 11:56:04 +02:00
Francois Gouget 5c033dad79 MIDL_STUB_MESSAGE.UniquePtrCount has been renamed in the latest SDK so
ignore it.
2004-10-30 02:10:22 +00:00
Francois Gouget 02236f06a8 Fix and unify parsing of calling conventions.
Hack handling of 'struct { } *NDR_SCONTEXT;' so we don't cause a parse
error as this is a valid C construct.
Generate type tests for rpcrt4.
Remove PRPC_BINDING_VECTOR and PUUID_VECTOR, they don't exist on
Windows.
Fix the MIDL_STUB_MESSAGE, MIDL_SERVER_INFO and
MIDL_STUBLESS_PROXY_INFO structs.
Add NDR_ALLOC_ALL_NODES_CONTEXT, NDR_POINTER_QUEUE_STATE and
CS_STUB_INFO.
2004-09-08 01:27:24 +00:00
Francois Gouget c13638ee85 Fix c_parser.pm so it handles 'const' preceeding a '*'.
Add missing #pragma pack directives for the new shlobj.h types.
Fix some field names in CSFV and QCMINFO.
Update the generated tests to also check shtypes.h and test some more
types.
2004-09-07 22:46:26 +00:00
Francois Gouget 5d54c7ba7c Test some more gdi types. 2004-09-07 20:27:34 +00:00
Francois Gouget 7e848dc47e Test some more urlmon types. 2004-09-07 19:33:36 +00:00
Francois Gouget ab1866be52 Test some more ntdll types.
tests.dat: Remove types that don't exist, whether in the Windows or
Wine headers.
2004-09-06 21:26:57 +00:00
Francois Gouget 20b8b56d5f Enable the disabled tests in tests.data or add a comment describing
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Francois Gouget 2e360b3ee4 Fix alignment issues for MEMORYSTATUSEX, WIN32_STREAM_ID and
IO_COUNTERS. The corresponding tests now succeed both when compiled
with the Windows headers and when compiled with the Wine headers.
2004-08-24 20:16:25 +00:00
Francois Gouget 6b1e83281b Update FPO_DATA and IMAGE_LOAD_CONFIG_DIRECTORY to match the latest
platform SDK. This helps compile the ntdll tests on Windows.
2004-08-22 22:28:53 +00:00
Francois Gouget 493cf88bb6 Remove these Wine-only types:
EnumICMProfilesProcCallback
  PEXCEPTION_REGISTRATION_RECORD
Don't test these Wine-only types:
  EMRSETTEXTJUSTIFICATION
  EXCEPTION_REGISTRATION_RECORD
Remove EXCEPTION_FRAME, it doesn't exist at all.
2004-08-22 02:07:13 +00:00
Francois Gouget 68232c6c2f Remove types that don't exist from tests.dat.
Don't test types that have a platform dependent layout.
Don't test Wine-only types.
Helps get the generated tests compiling on Windows.
2004-08-19 20:34:42 +00:00
Francois Gouget a625761eb9 Avoid annoying 'macro redefinition' warnings by defining
WIN32_NO_STATUS at the right time.
Define _WIN32_WINNT otherwise we are missing some symbols with the
Windows headers.
2004-08-14 00:42:12 +00:00
Francois Gouget 870f55fefc Fix the PSID and PSECURITY_DESCRIPTOR types.
Add PISID and PISECURITY_DESCRIPTOR.
2004-08-13 23:55:43 +00:00
Francois Gouget 6f902f16fb The Windows headers don't define PEXCEPTION_REGISTRATION_RECORD.
Remove it.
2004-08-13 23:22:30 +00:00
Francois Gouget 0cc262c5bf Fix compilation of the wininet generated tests with the Windows
headers.
2004-08-13 23:19:37 +00:00
Francois Gouget 522217c0e2 Remove LPFILESYSTEMBINDDATA as it's not defined in the standard
Windows headers.
2004-08-11 20:52:37 +00:00
Hans Leidekker e2bf33437d - Assume 8 byte maximum alignment.
- Sync type testing data with the headers.
2004-05-04 00:38:27 +00:00
Alexandre Julliard 2f31228dfe Specify include quotes in the tests.dat file. 2003-10-24 04:43:16 +00:00
Francois Gouget 56b63e85c3 Update tests.dat to include the various #include fixes.
gcc says that sizeof(long double)==12.
Fix the detection of pragma packs to detect #include <...>.
Generate ok("...\n") calls.
2003-10-21 23:48:13 +00:00
Patrik Stridvall b3da4abc57 Added tests for a few new DLLs. 2002-11-12 01:05:17 +00:00
Patrik Stridvall aac9ff400c - Added code for detection of missing types.
- Added missing types.
- Added a function for each type test to improve compiling with -O2.
2002-11-06 21:58:50 +00:00
Patrik Stridvall 5554838292 Added tests for normal types (not just structures). 2002-11-04 22:40:13 +00:00
Patrik Stridvall 1a6898b8ef Added support for excluding optional fields. 2002-10-29 21:23:44 +00:00
Patrik Stridvall 3007bd437e Minor modifications and improvements. 2002-10-23 18:44:46 +00:00
Patrik Stridvall 65442cd763 - Improved alignment and offset calculations.
- Reorganized and improved enum/union/struct parsing.
2002-10-11 17:53:13 +00:00
Patrik Stridvall 91a3686853 Reorganized the code for better support of data structures parsing. 2002-10-09 18:12:02 +00:00
Patrik Stridvall df6d37e0f2 - Minor improvements.
- Added tests for GDI and USER.
2002-10-02 19:54:14 +00:00
Patrik Stridvall a40a4f719e - Added a new tool winapi_test for generating tests.
- Added a data structure packing test to winapi_test.
- Reorganized and optimized a few things.
2002-10-01 18:10:54 +00:00