Commit Graph

109 Commits

Author SHA1 Message Date
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
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 87bc2aa607 comctl32/tests: Use SetRect() instead of open coding it.
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-04-08 23:24:48 +09:00
Nikolay Sivov 6870144022 comctl32/monthcal: Always reset range flags and date limits on MCM_SETRANGE.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 10:15:13 +09:00
Nikolay Sivov c075d5aafd comctl32/monthcal: MCM_GETRANGE does not return BOOL values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 19:06:21 +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 f935a10add comctl32/tests: Fix Monthcal tests failures on some VMs. 2015-03-02 13:54:13 +09:00
Nikolay Sivov 91672c8453 comctl32/tests: Don't assert() on test failures. 2014-02-13 17:52:13 +01:00
André Hentschel e32237d34a comctl32/tests: Avoid preprocessor checks to ensure it compiles. 2014-01-27 17:01:56 +01:00
Frédéric Delanoy 29b2db009c comctl32/tests: Use BOOL type where appropriate. 2014-01-03 18:08:51 +01:00
Michael Stefaniuc 4b59a4266a comctl32/tests: Make monthcal.c compile with -D__WINESRC__. 2013-12-02 10:50:44 +01:00
Nikolay Sivov 88d5cab5e9 comctl32/tests: Manually load comctl32.dll with newly activated context. 2013-09-09 11:27:59 +02:00
Andrew Eikum 75fbef2ded comctl32: Return the number of visible months for MCM_GETMONTHDELTA. 2013-08-30 11:12:54 +02:00
Nikolay Sivov f8ce7ed978 comctl32/tests: Remove useless message tracing. 2013-06-06 10:43:03 +02:00
Marcus Meissner 1fe4af293c comctl32: Initialize SYSTEMTIME structs (Coverity). 2013-01-10 19:18:45 +01:00
Nikolay Sivov 3938bfd30d comctl32: Initialize id field for message tests. 2012-12-10 11:25:29 +01:00
Sergey Guralnik d54979e329 comctl32: Correct values passed in MCN_SELECT/MCN_SELCHANGE notifications. 2012-08-17 15:16:12 +02:00
Sergey Guralnik c7abff0a27 comctl32/tests: Add test for MCN_SELECT/MCN_SELCHANGE notifications. 2012-08-17 15:16:08 +02:00
Nikolay Sivov 0cae0842b9 comctl32/tests: Fix test failures running on February 29. 2012-02-29 10:32:09 +01:00
Nikolay Sivov 482d80cf16 comctl32/tests: Make state data accessible to caller (Valgrind). 2011-10-18 15:12:47 +02:00
Nikolay Sivov ce6819d93d comctl32/tests: Fix a test that depends on control size. 2011-10-03 11:26:55 -05:00
Nikolay Sivov 40c783fcc1 comctl32/monthcal: After notification safely free buffer allocated on heap. 2011-10-03 09:45:33 -05:00
Nikolay Sivov d3758e02b8 comctl32/monthcal: Properly adjust day of week in MCM_SETCURSEL. 2011-09-23 14:19:25 +02:00
Nikolay Sivov d6349844e6 comctl32/monthcal: Correct MCM_SETTODAY handler return value. 2011-09-23 14:19:18 +02:00
Nikolay Sivov efbb419621 comctl32/monthcal: Fix some day state problems. 2011-09-23 14:19:13 +02:00
Nikolay Sivov b11208e5f8 comctl32/monthcal: Fix MCM_GETMONTHRANGE with regard to multiple calendars and parameter handling. 2011-09-23 14:19:07 +02:00
Nikolay Sivov 23dfef0d9e comctl32/monthcal: Enable multiple calendars support. 2011-09-22 19:51:50 +02:00
Nikolay Sivov 0d3b04d033 comctl32/monthcal: Implement MCM_GETCALENDARCOUNT. 2011-09-20 16:21:40 +02:00
Marko Nikolic 589d87f215 comctl32/tests: Removed sign comparison warning in monthcal tests. 2011-06-06 16:17:52 +02:00
Nikolay Sivov 0270e69b54 comctl32/monthcal: Some tests for MCM_SIZERECTTOMIN. 2011-04-04 11:52:03 +02:00
Austin English 4803f921e6 comctl32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-18 14:54:50 +01:00
Austin Lund 8fdb1bec12 comctl32/tests: DateTimePicker and MonthCalendar controls only support Gregorian calendar. 2010-08-19 17:32:18 +02:00
Nikolay Sivov ae1062c12d comctl32/monthcal: Store all control colors in a single array. 2010-08-16 13:45:07 +02:00
Nikolay Sivov 76d3e1d553 comctl32/monthcal: Support new hittest fields for some cases. 2010-08-16 13:44:29 +02:00
Nikolay Sivov 94dfbcaad5 comctl32/tests: Remove some noise from function names.
Everything in this file is about Monthcal.
2010-08-04 13:26:11 +02:00
Nikolay Sivov 8e968fd290 comctl32/monthcal: Add some tests for post-V1 hittest fields. 2010-08-04 13:26:00 +02:00
Gerald Pfeifer 29cc4c9193 comctl32/tests: Check for the outcome of the SendMessage calls in test_monthcal_size. 2010-05-14 11:04:24 +02:00
Mikhail Maroukhine ad68792a14 comctl32/tests: Remove superfluous casts. 2010-03-25 09:45:06 +01:00
Michael Stefaniuc 92e4e63353 comctl32/tests: Remove some superfluous casts around SendMessage(). 2009-12-28 12:27:14 +01:00
Nikolay Sivov c044fa8a59 comctl32/monthcal: Don't pass uninitialized data to MCM_SETTODAY, test isn't about this. 2009-11-19 16:16:52 +01:00
Nikolay Sivov 1ab851a1bd comctl32/monthcal: Explicitly set required control size. 2009-10-19 11:45:20 +02:00
Nikolay Sivov cbdc99cdba comctl32/monthcal: Get/set unicode format flag using MCM_[GET|SET]UNICODEFORMAT. 2009-10-16 13:36:01 +02:00
Paul Vriens 3c130309d3 comctl32/tests: Fix a test failure on older comctl32 versions. 2009-10-13 11:28:09 +02:00
Nikolay Sivov 5a244bc863 comctl32/monthcal: Fix today link test. 2009-10-12 13:01:54 +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 22dddce999 comctl32/monthcal: Fix a test skip condition - zero is a valid day of week. 2009-10-12 13:00:08 +02:00
Nikolay Sivov 18857222ec comctl32/monthcal: Handle September 1752 with a special case - it's a 19 day month. 2009-10-12 12:59:53 +02:00
Nikolay Sivov 2906aaf605 comctl32/monthcal: Process UpDown year control through subclass procedure. 2009-10-12 12:59:31 +02:00
Paul Vriens 87441ff83c comctl32/tests: Fix some test failures on older comctl32 versions. 2009-10-08 12:17:30 +02:00
Nikolay Sivov c68324dfed comctl32/monthcal: Implement MCM_GETMONTHRANGE for GMR_DAYSTATE flag and a single calendar control. 2009-10-08 12:16:57 +02:00