Commit Graph

66 Commits

Author SHA1 Message Date
Nikolay Sivov 72186db5fe comctl32/tests: Add more tests for tab focus.
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 d41f22bb32 comctl32/tests: Remove some test sequences that are not interesting.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-25 16:27:45 +01:00
Nikolay Sivov 37052ad9c1 comctl32/tests: Extend TCM_SETTOOLTIPS test.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-25 16:27:41 +01:00
Nikolay Sivov 7b304a9ddd comctl32/tests: Use better names for test window procedures.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-25 16:27:38 +01:00
Nikolay Sivov 413b2a031b comctl32/tests: A test for TCN_SELCHANGING handling.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-25 16:27:28 +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 1ec91f592e comctl32/tests: Fully initialize message tests data.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:16 +02:00
André Hentschel ab7228f318 comctl32/tests: Remove unused structs (Clang). 2014-11-25 19:49:33 +01:00
Alexandre Julliard 6ad2cf9b53 comctl32/tests: Output message sequences only on failure. 2014-06-12 13:19:05 +02:00
Nikolay Sivov 91672c8453 comctl32/tests: Don't assert() on test failures. 2014-02-13 17:52:13 +01:00
Nikolay Sivov 0e73e478ff comctl32/tab: Fix TCM_SETCURSEL on negative indices. 2014-02-10 10:41:47 +01:00
Michael Stefaniuc c2d07d5cf4 comctl32/tests: Make tab.c compile with -D__WINESRC__. 2013-11-25 15:15:54 +01:00
Nikolay Sivov 3938bfd30d comctl32: Initialize id field for message tests. 2012-12-10 11:25:29 +01:00
Alexandre Julliard c4bae8fab0 comctl32/tests: Don't delete the global font object. 2012-10-18 22:28:37 +02:00
Michael Stefaniuc fe947be7e7 comctl32/tests: Remove stray backslashes at end of lines. 2012-06-07 10:33:17 +02:00
Nikolay Sivov 21727c416f comctl32: When created with TCS_VERTICAL, TCS_MULTILINE is set automatically. 2012-05-17 10:18:39 +02:00
Nikolay Sivov 7d31d39f00 comctl32/tab: Make WM_RBUTTONUP reach default window procedure. 2011-07-04 13:40:43 +02:00
Marko Nikolic 1694555942 comctl32/tests: Removed sign comparison warning in tab tests. 2011-06-03 13:56:04 +02:00
Gerald Pfeifer 35707aee68 comctl32/tests: Add casts to avoid comparison of different int types. 2011-05-23 11:21:54 +02:00
Nikolay Sivov 97314eeebd comctl32/tests: Make functions from test macros. 2011-05-12 14:25:04 +02:00
Nikolay Sivov f6b3376ec7 comctl32/tests: Remove practically unused parameters from test functions. 2011-04-27 11:54:47 +02:00
Nikolay Sivov 6867735e20 comctl32/tab: Fix invalid read of item data. 2011-04-11 12:06:18 +02:00
Gerald Pfeifer d698e226f6 comctl32/tests: Remove unused parameter from test_removeimage(). 2011-02-14 13:33:30 +01:00
Nikolay Sivov f08938c381 comctl32/tab: Fix DRAWITEMSTRUCT filling when extra item data of a custom size is used. 2010-10-04 15:00:07 +02:00
Nikolay Sivov 1b2f7517ee comctl32/tab: Add a test for TCM_SETITEMEXTRA. 2010-09-28 12:51:01 +02:00
Nikolay Sivov 9cec74f300 comctl32/tab: Reset current selection on negative focus value. 2009-11-20 14:48:40 +01:00
Nikolay Sivov 33a1e827a7 comctl32/tab: Fix selection change when selected item is deleted. 2009-11-20 14:48:35 +01:00
Nikolay Sivov 336a68be54 comctl32/tab: Split tests to several functions not to depend from each other. 2009-11-20 14:48:31 +01:00
Nikolay Sivov a4b5c5db1c comctl32: Don't use additional heap allocated pointer to old window procedure. 2009-10-12 13:01:21 +02:00
Alexandre Julliard 454a7fde33 comctl32/tests: Fix tab control test failures on older Windows versions. 2009-08-26 13:09:05 +02:00
Nikolay Sivov f08747cbfc comctl32/tab: Init TCITEM fields in TCM_GETITEM when invalid index passed. 2009-08-17 15:53:12 +02:00
Nikolay Sivov 031c497a5a comctl32/tab: Check destination pointer for NULL in TCM_GETITEM handler. 2009-08-17 15:53:06 +02:00
Alexandre Julliard 66e83d2156 comctl32/tests: Fix some test failures on older versions. 2009-08-05 15:30:10 +02:00
Michael Stefaniuc 1513dd2073 comctl32/tests: Use LONG instead of long. 2009-04-02 16:28:30 +02:00
Nikolay Sivov 0e5dac618f comctl32/tab: Selected item should have TCIS_BUTTONPRESSED state. 2009-03-26 11:56:09 +01:00
Nikolay Sivov db60f69cba comctl32/tab: Handle state mask in TCM_[G,S]ETITEM. 2009-03-26 11:56:05 +01:00
Nikolay Sivov 92b0ad98e1 comctl32/tab: Implement TCM_[G,S]ETEXTENDEDSTYLE and TCS_EX_FLATSEPARATORS style. 2009-03-24 12:40:15 +01:00
Nikolay Sivov 4585148547 comctl32/tab: Implement TCM_REMOVEIMAGE. 2009-03-24 12:38:37 +01: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
Aric Stewart 110a6048af comctl32/tab: Return default tab width in TCM_SETMINTABWIDTH if lParam is a negative value. 2008-12-03 11:37:58 +01:00
Lei Zhang 87ca1b9416 comctl32: Check for NULL input in TAB_AdjustRect. 2008-11-11 11:40:46 +01:00
Michael Stefaniuc d4b8948ce3 comctl32: Do not cast NULL. 2008-11-03 13:41:58 +01:00
Detlef Riekenberg 2910b90c70 comctl32/tests: Fix tests to not depend on 96 dpi, make it pass in Wine. 2008-10-14 14:02:28 +02:00
James Hawkins f5e298d2db comctl32: Fix several failing tests in win98. 2008-09-08 12:47:22 +02:00
Lei Zhang f2519fdcda comctl32: Set tab focus correctly. 2007-10-30 11:31:38 +01:00
Lei Zhang 73213d1444 comctl32: Add tab delete item / get focus test. 2007-10-30 11:31:29 +01:00
Lei Zhang 31a09c3b7b comctl32: Add tab insert item / get focus test. 2007-10-30 11:31:19 +01:00
Lei Zhang c5a17f98df comctl32: Move tab test's createParentWindow() into START_TEST(). 2007-10-30 11:31:11 +01:00
Aric Stewart 3822aa4b63 comctl32: TCM_SETCURSEL also updates the focus item. 2007-09-10 15:29:46 +02:00