Eric Pouech
f2b4634c18
comctl32/tests: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-28 21:30:19 +01:00
Eric Pouech
2596bd57c6
comctl32/tests: Use inline function in expect*() macros to handle integral conversion.
...
depending on the files, these macros can be called with:
- UINT/UINT, DWORD/DWORD pairs, but also UINT/DWORD or DWORD/UINT pairs...
- wrapping inside an inline function allows the compiler to take care of
the integral conversions
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-24 20:22:21 +01:00
Nikolay Sivov
043ecca384
comctl32: Fix DPA_GetPtr() prototype.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-09 21:33:43 +01:00
Nikolay Sivov
81727e1953
comctl32/tests: Remove skips from DPA tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-06 11:57:00 +02:00
Nikolay Sivov
4c86e860e6
comctl32/tests: Use wide strings literals.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-25 10:48:48 +02:00
Nikolay Sivov
d01306d1ee
comctl32/tests: Run DPA tests on version 6.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-29 20:28:59 +01:00
Nikolay Sivov
3845cc10e8
comctl32/tests: Link to comctl32.dll dynamically.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 16:03:00 +01:00
Bruno Jesus
2c5f05b860
comctl32/tests: Remove a dead assignment from dpa.c (Cppcheck).
2014-10-31 13:14:59 +09:00
Thomas Faber
43dd359ebe
comctl32: Remove superfluous const from DPA/DSA function signatures.
2013-09-30 11:33:36 +02:00
Marko Nikolic
b76e2daec2
comctl32/tests: Removed sign comparison warning in dpa tests.
2011-10-06 12:26:51 -05:00
Alexandre Julliard
9e47c59427
comctl32: Actually grow the array in DPA_Grow.
2010-01-29 13:30:00 +01:00
Nikolay Sivov
bd8fc9c474
comctl32/tests: Don't forget to free array after tests.
2009-12-07 14:18:26 +01:00
Michael Stefaniuc
4ee851452b
comctl32/tests: Silence some Win64 compile warnings.
...
"warning: cast to pointer from integer of different size"
2009-10-02 11:49:38 +02:00
Nikolay Sivov
69bcb112f9
comctl32/dpa: Check for DPA_LoadStream() presence. Merge original test function with save tests.
2009-09-16 15:02:50 -05:00
Nikolay Sivov
d82fb3d308
comctl32/dpa: Fix DPA_Merge() test failures on old 4.7x comctl32.
2009-09-15 16:41:27 -05:00
Nikolay Sivov
c1513c6bde
comctl32/dpa: Implement DPA_SaveStream() with tests.
2009-09-15 16:41:27 -05:00
Nikolay Sivov
c8f8e5da11
comctl32/dpa: Fix parameter validation in DPA_LoadStream().
2009-09-15 16:41:27 -05:00
Nikolay Sivov
b07ca01527
comctl32/dpa: Separate tests for parameter validation in DPA_LoadStream().
2009-09-15 16:41:27 -05:00
Nikolay Sivov
3b6ac3000f
include: Move some definitions to public header, use PSDK names.
2009-09-11 12:13:25 +02:00
Nikolay Sivov
7044ac8751
comctl32/dpa: Fix DPA_Merge() for DPAM_INTERSECT option.
2009-09-11 12:11:50 +02:00
Nikolay Sivov
e97fcdd1bb
comctl32/dpa: Some DPA_Merge tests.
2009-09-11 12:11:35 +02:00
Nikolay Sivov
2c190ab438
include: Move some documented DPA definitions to public header, use PSDK names.
2009-09-10 10:52:29 +02:00
Nikolay Sivov
e7304066d1
comctl32/dpa: Split tests to several functions to avoid undesired dependencies.
2009-09-10 10:51:07 +02:00
Nikolay Sivov
3373ed8fbb
comctl32/dpa: Don't use start index on searching sorted array.
2009-07-16 11:13:07 +02:00
Michael Stefaniuc
fc46bb1479
comctl32/tests: Remove superfluous pointer casts.
2009-02-06 14:54:01 +01:00
Alexandre Julliard
a52977dc4a
comctl32/tests: Fix pointer casting warnings on 64-bit.
2009-01-03 20:13:20 +01:00
Paul Vriens
1b494e7f31
comctl32/tests: Use win_skip instead of trace.
2008-10-21 11:43:36 +02:00
James Hawkins
72f55763f6
comctl32: Fix a test failure in win98.
2008-08-29 13:25:57 +02:00
Paul Vriens
6c63ebefc3
comctl32/tests: Don't use FreeLibrary with GetModuleHandle.
2008-03-10 12:54:00 +01:00
Austin English
c2a7914d1c
comctl32: Spelling fixes.
2008-01-24 11:43:02 +01:00
Alexandre Julliard
ed147bb102
comctl32/tests: Avoid destroying a DPA twice.
2007-10-01 18:03:51 +02:00
Francois Gouget
d9e8a0f63e
Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll.
2007-03-28 12:36:13 +02:00
Francois Gouget
fb957ec589
comctl32/tests: Fix the CheckDPA() tests.
...
There is no guarantee that the compiler will compute the function arguments in left-to-right order.
2006-11-24 11:49:07 +01:00
Michael Ploujnikov
a348e0936a
comctl32/tests: Win64 printf format warning fixes.
2006-10-13 15:46:06 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Alexandre Julliard
90c3c89aea
Fixed regression in DPA_Search.
2005-08-01 14:50:36 +00:00
Felix Nawothnig
9fb00ff5c8
Fix DPA_Search for sorted arrays.
2005-08-01 09:18:23 +00:00
Francois Gouget
28dc5a8afc
Assorted spelling fixes.
2005-07-11 10:59:41 +00:00
Felix Nawothnig
7dde735180
Fix some DPA functions so they pass the new tests.
2005-07-08 11:30:28 +00:00
Felix Nawothnig
6d9150dd38
Add another failing DPA test.
2005-07-07 11:26:26 +00:00
Felix Nawothnig
7a4b579b11
Fix DPA tests on Win95.
2005-07-05 11:01:29 +00:00
Felix Nawothnig
126af8653e
Rewrote the DPA testsuite.
2005-07-03 12:02:09 +00:00
Mike McCormack
882bc4d18d
Warning fixes for -Wmissing-declarations and -Wwrite-strings.
2005-06-09 09:50:56 +00:00
Stefan Leichter
5027c1b5c5
Import DPA_Search by ordinal like other DPA functions.
2005-04-22 21:18:12 +00:00
Jon Griffiths
873cd009d0
Remove unneeded headers to reduce unneeded rebuilds.
2004-12-15 10:54:44 +00:00
Robert Shearman
436145e975
Fix nGrow initialization in DPA_CreateEx.
2004-02-06 05:16:32 +00:00
Francois Gouget
a5aa8dc1d0
DPA_Create is missing from all recent import libraries so use
...
GetProcAddress to load it.
Add '\n' to 'ok' calls.
2004-01-19 21:47:35 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Uwe Bonnes
2c4fd4289c
New comctl32 test directory and test case for DPA_Search.
2003-05-15 23:58:48 +00:00