Commit Graph

81 Commits

Author SHA1 Message Date
Michael Stefaniuc 04cb8d51a3 comctl32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 21:18:42 +02:00
Nikolay Sivov 69694d4976 comctl32/tests: Run Header format mask 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
Nikolay Sivov 298ef9b93b comctl32/tests: Remove useless rand() calls (cppcheck).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-16 12:09:20 +02:00
Nikolay Sivov e9c1f8112d comctl32/tests: Fully initialize message test data (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 10:05:41 +02:00
Nikolay Sivov ad566da137 comctl32/tests: Use win_skip() for tests that should not be skipped on Wine.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 11:26:36 +01:00
Michael Stefaniuc 96185e23b4 comctl32/tests: Use wine_dbgstr_rect() to print RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 23:07:45 +09:00
Frédéric Delanoy 778717673e comctl32/tests: Fix a couple typos in ok() calls.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-21 00:53:51 +09:00
Nikolay Sivov d1594aadda comctl32/header: Implement HDM_SETFILTERCHANGETIMEOUT.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:37:18 +09:00
Nikolay Sivov b7f1839583 comctl32/tests: Simplify static text data initialization.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:17:36 +09:00
Nikolay Sivov 025508f755 comctl32/tests: Fix wrong use of HDM_GETITEM when getting item text.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:17:34 +09:00
Nikolay Sivov 780ebcc7d9 comctl32/tests: Simplify tests using todo_wine_if().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:42 +09:00
Nikolay Sivov 9d1232a1ec comctl32/tests: Fix uninitialized variable case (Coverity). 2014-03-25 10:56:25 +01:00
Nikolay Sivov 91672c8453 comctl32/tests: Don't assert() on test failures. 2014-02-13 17:52:13 +01:00
Frédéric Delanoy 29b2db009c comctl32/tests: Use BOOL type where appropriate. 2014-01-03 18:08:51 +01:00
Michael Stefaniuc 5092ecf6fe comctl32/tests: Finally compile with -D__WINESRC__. 2013-12-04 11:06:53 +01:00
Frédéric Delanoy 4473ce4db9 Assorted spelling fixes. 2013-10-30 09:46:27 +01:00
Nikolay Sivov 44ebba9d5e comctl32/tests: Preparation for switching __WINESRC__ on. 2013-10-22 20:19:17 +02:00
Frédéric Delanoy 1f6e66babe comctl32/tests: Use BOOL type where appropriate. 2013-10-22 16:37:40 +02:00
Nikolay Sivov 88d5cab5e9 comctl32/tests: Manually load comctl32.dll with newly activated context. 2013-09-09 11:27:59 +02:00
Nikolay Sivov f8ce7ed978 comctl32/tests: Remove useless message tracing. 2013-06-06 10:43:03 +02:00
Nikolay Sivov 3938bfd30d comctl32: Initialize id field for message tests. 2012-12-10 11:25:29 +01:00
Florian Köberle e68b9f9fc9 comctl32/header: Don't free the imagelist in HEADER_NCDestroy. 2011-08-04 09:06:54 +02:00
Florian Köberle 9a616111da comctl32/tests: Test that headers do not free their image list. 2011-08-04 09:06:51 +02:00
Austin English 7c25705e3c comctl32/tests: Remove win9x hack. 2011-02-28 13:11:22 +01:00
Michael Stefaniuc 92e4e63353 comctl32/tests: Remove some superfluous casts around SendMessage(). 2009-12-28 12:27:14 +01:00
Michael Stefaniuc 93d45253cd comctl32/tests: Don't cast NULL to an integer type. 2009-12-21 15:01:24 +01:00
Nikolay Sivov d2e169fadd comctl32/header: Avoid uninitialized memory passed to HDM_INSERTITEM, some fields are always copied. 2009-11-30 12:56:53 +01:00
Nikolay Sivov ebea81f131 comctl32/tests: Release activation context handle when we're done with tests. 2009-10-21 16:05:59 +02:00
Nikolay Sivov 57577fb20b comctl32/header: Don't leak Imagelist handle. 2009-10-21 16:05:59 +02:00
Nikolay Sivov 5517209a24 comctl32/header: Process input order array more accurately. 2009-10-19 11:45:17 +02:00
Nikolay Sivov a4b5c5db1c comctl32: Don't use additional heap allocated pointer to old window procedure. 2009-10-12 13:01:21 +02:00
Nikolay Sivov fffb41f6a6 comctl32/header: Add XP SP3 workaround for Header tests. Fix window handle leak. 2009-09-09 13:14:09 +02:00
Nikolay Sivov d9ebf1962c comctl32/header: Implement HDS_NOSIZING style with tests. 2009-09-08 13:42:55 +02:00
Nikolay Sivov a4c22a142c comctl32/header: Implement HDF_FIXEDWIDTH format flag. 2009-09-08 13:42:36 +02:00
Nikolay Sivov ce372ca4db comctl32/header: Fix hittesting flags, extend tests a bit. 2009-07-15 13:16:03 +02:00
Nikolay Sivov fdb7412725 comctl32/header: Update item bounds on WM_SIZE. 2009-07-13 10:26:06 +02:00
Nikolay Sivov fac7daf098 comctl32/header: Use macro to define LPARAM value. 2009-07-13 10:25:57 +02:00
Nikolay Sivov a18886e5c2 comctl32/header: Always update rectangles after HDM_SETORDERARRAY. 2009-07-10 12:12:21 +02:00
Nikolay Sivov 67d2292b00 comctl32/header: Test item rectangles updating after reordering. 2009-07-10 12:12:17 +02:00
Paul Vriens f2b0e4f6e6 comctl32/tests: Fix test failures with comctl32 < 5.80. 2009-06-26 14:40:39 +02:00
Michael Stefaniuc 1513dd2073 comctl32/tests: Use LONG instead of long. 2009-04-02 16:28:30 +02:00
Michael Stefaniuc fc46bb1479 comctl32/tests: Remove superfluous pointer casts. 2009-02-06 14:54:01 +01:00
Michael Stefaniuc ac37f1b7fb comctl32/tests: Do not cast the IDC_* defines to a LPSTR. 2009-01-05 12:35:06 +01:00
Alexandre Julliard acdcb19cbb comctl32/tests: Avoid handle casts in traces. 2008-12-04 12:12:29 +01:00
Detlef Riekenberg f0d0ac75dc comctl32/tests: Make the header test dpi aware. 2008-11-14 12:08:42 +01:00
Michael Stefaniuc c46a88a3c9 comctl32: Remove superfluous casts that crept in as well as some older ones. 2008-11-07 11:00:16 +01:00
Michael Stefaniuc 62e17fa8c4 comctl32: Do not cast zero. 2008-11-04 11:26:22 +01:00
Paul Vriens d0dfd9d784 comctl32/tests: Don't crash on some win9x boxes. 2008-10-02 10:41:26 -05:00
James Hawkins cc0ea85c34 comctl32: Store the previous timeout value to test with. 2008-09-09 11:46:17 +02:00