Commit Graph

53 Commits

Author SHA1 Message Date
Zhiyi Zhang e9a5cd2e5a comctl32/tests: Add UDS_SETBUDDY tests.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-22 17:57:46 +02:00
Francois Gouget e3d7f4d619 comctl32/tests: Avoid a couple of unneeded lstrlenA() calls.
Note that text is an array and thus cannot be NULL.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Akihiro Sagawa 9dbe886e3f comctl32/updown: Suppress the NM_RELEASEDCAPTURE notification.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47427
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-26 22:39:50 +02:00
Akihiro Sagawa 5555044aa6 comctl32/tests: Add tests to show no NM_RELEASEDCAPTURE notifications in the updown control.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-26 22:39:50 +02:00
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 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 030488bc76 comctl32/updown: Reset control width conditionally on UDM_SETBUDDY with NULL buddy handle.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-21 10:38:19 +01:00
Nikolay Sivov 2d7aa09323 comctl32/tests: Add separate test for CreateUpDownControl().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-21 10:38:11 +01:00
Nikolay Sivov 9e66be57b0 comctl32/tests: Use CreateWindowEx() to create UpDown controls.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-21 10:38:08 +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
Alexandre Julliard 6ad2cf9b53 comctl32/tests: Output message sequences only on failure. 2014-06-12 13:19:05 +02:00
Saulius Krasuckas f44ceec023 comctl32/tests: Make updown.c compile with -D__WINESRC__. 2013-11-08 12:45:42 +01:00
Piotr Caban 20019a77bc comctl32/tests: Add more updown control value tests. 2013-10-16 20:49:26 +02:00
Nikolay Sivov 3938bfd30d comctl32: Initialize id field for message tests. 2012-12-10 11:25:29 +01:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Austin English 809bb35bf0 comctl32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-18 14:54:51 +01:00
Nikolay Sivov 2e1aa43ab1 comctl32/tests: Skip test on <5.8x systems. 2009-12-28 11:55:39 +01:00
Nikolay Sivov 750ce6be35 comctl32/updown: Don't update buddy text if it's the same. 2009-12-23 14:27:30 +01:00
Nikolay Sivov 6cc141ff59 comctl32/updown: Simplify buddy subclassing using SetWindowSubclass chain. 2009-12-22 13:48:26 +01:00
Nikolay Sivov 48d42d4a93 comctl32/tests: Some tests for buddy procedure subclassing. 2009-12-22 13:48:25 +01:00
Nikolay Sivov 8fc96f20a3 comctl32/tests: Add ability to create any number of edit buddies. 2009-12-22 13:48:25 +01:00
Nikolay Sivov eaee84f4db comctl32/updown: Set width to default value on creation. 2009-12-03 14:02:54 +01:00
Nikolay Sivov b2d89f4823 comctl32/updown: Specify all styles explicitly in tests. 2009-12-03 14:02:54 +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
Nikolay Sivov 484ef1dcbf comctl32/updown: Fix some test failures on Win95 (comctl32 4.0). 2009-09-29 14:22:35 +02:00
Alexandre Julliard d0aaae9987 comctl32/tests: Use UDM_GET/SETPOS instead of UDM_GET/SETPOS32 for compatibility with old versions. 2009-09-25 15:13:55 +02:00
Nikolay Sivov f684bbaef7 comctl32/updown: Update buddy on base change. 2009-09-22 16:25:29 +02:00
Nikolay Sivov 7ebca40912 comctl32/updown: Additional test for display base. 2009-09-22 16:25:23 +02:00
Nikolay Sivov 4efa9f5e43 comctl32/updown: Fix control behaviour for UDS_SETBUDDYINT style. 2009-09-22 16:25:13 +02:00
Nikolay Sivov 2f9d29b42b comctl32/updown: Show that UDS_SETBUDDYINT switching doesn't affect behaviour for already created control. 2009-09-22 16:25:02 +02:00
Nikolay Sivov 6be1bade1a comctl32/updown: Make tests independent, drop unrelated tests. 2009-09-22 16:24:53 +02:00
Ge van Geldorp ae516dbac9 comctl32/tests: Adjust message sequences for Win7 (updown). 2009-08-31 12:19:30 +02:00
Paul Vriens 7665699411 comctl32/tests: Fix test failures on comctl32 < 5.80. 2009-06-25 14:34:13 +02:00
Michael Stefaniuc 1513dd2073 comctl32/tests: Use LONG instead of long. 2009-04-02 16:28:30 +02:00
Michael Stefaniuc ac37f1b7fb comctl32/tests: Do not cast the IDC_* defines to a LPSTR. 2009-01-05 12:35:06 +01:00
James Hawkins 23d899d8ab comctl32: Only log system messages. 2008-10-01 11:41:59 -05:00
James Hawkins 66483daf34 comctl32: Fix a failing test in win98. 2008-09-08 12:47:22 +02:00
James Hawkins 24bd8c0faf comctl32: Fix a failing test in win2000. 2008-08-29 13:26:07 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Dmitry Timoshkov 6055d04f07 comctl32/tests: Fix some problems revealed by compilation in 64-bit mode. 2007-05-24 11:36:23 +02:00
Leslie Choong 851197f80c comctl32: updown: Added message sequencing tests. 2007-03-14 18:59:31 +01:00
Leslie Choong 4e337ad8d5 comctl32: updown: Expect macro and spelling errors. 2007-03-14 18:59:20 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Lei Zhang b29c99c59a comctl32: Move up-down msg seq test functions into msg.c. 2007-02-21 17:45:38 +01:00
Leslie Choong b3c0a29061 comctl32: updown: Getter and setter tests for updown control. 2007-02-13 17:16:31 +01:00
Lei Zhang 4de56b1b4d comctl32: Fix the updown control test to use the optional flag. 2007-01-23 11:38:10 +01:00
Dmitry Timoshkov 105cf6b282 comctl32: Fix the updown control test to pass under XP. 2007-01-22 12:02:32 +01:00
James Hawkins 74ada83c60 comctl32: Rewrite the up-down control tests to add message checking. 2007-01-10 12:00:15 +01:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard ba41fe20bc Fixed a few more pointer to integer typecast issues for 64-bit
platforms.
2005-09-12 21:22:32 +00:00