42 Commits

Author SHA1 Message Date
Michael Stefaniuc
4376ccf3fc comctl32: Use FAILED instead of !SUCCEEDED. 2009-12-01 13:04:36 +01:00
Owen Rudge
482c454e50 comctl32/tests: Fix imagelist v6 test failures on XP. 2009-11-19 11:48:51 +01:00
Owen Rudge
5ce3af5b37 comctl32/tests: Use SHIL_SYSSMALL instead of LARGE, and compare with system metrics.
This patch fixes a test failure if a user has a non-standard icon size 
set. Windows 7, for instance, offers more variation than previous 
versions of Windows in icon scaling. We should get the system icon 
metric and compare our icon size against that.
2009-11-19 11:48:38 +01:00
Owen Rudge
459361d4d6 comctl32/tests: Use defined flags instead of magic numbers in v6 tests. 2009-11-17 15:14:53 +01:00
Owen Rudge
9db87f13d3 shell32: Implement SHGetImageList and remove todo_wine from imagelist tests. 2009-11-17 15:14:53 +01:00
Owen Rudge
c0a6c5cd3f comctl32/tests: Add hotspot/drag test for IImageList. 2009-11-17 15:14:53 +01:00
Owen Rudge
9adc1b8fd6 comctl32/tests: Add test of IImageList_Merge function. 2009-11-17 15:14:53 +01:00
Nikolay Sivov
7caa61fde6 comctl32/imagelist: Make ImageList_Destroy just decrease refcount. Move actual destruction to ::Release. 2009-11-16 15:02:02 +01:00
Nikolay Sivov
4afc54540d comctl32/imagelist: Use defined flags instead of magic numbers in tests. 2009-11-16 15:01:34 +01:00
Owen Rudge
b37009ee80 comctl32/tests: Add further tests for IImageList. 2009-11-16 13:29:09 +01:00
Owen Rudge
a07c922fa3 comctl32/tests: Add tests for IImageList based on standard imagelist tests. 2009-11-16 13:27:54 +01:00
Paul Vriens
54a01bf5bc comctl32/tests: Remove unused parameter. 2009-11-13 12:21:41 +01:00
Owen Rudge
856dda3288 comctl32/tests: Add IImageList creation test. 2009-11-13 12:14:46 +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
Joel Holdsworth
84cb7031f4 comctl32/tests: Added tests for ImageList_DrawIndirect. 2009-10-09 11:50:29 +02:00
Francois Gouget
544f882918 comctl32/tests: Add a trailing '\n' to ok() calls. 2009-08-19 12:07:24 +02:00
Owen Rudge
1556fbf86c comctl32/tests: Add basic test for IImageList using SHGetImageList. 2009-08-13 15:51:07 +02:00
Michael Stefaniuc
ac37f1b7fb comctl32/tests: Do not cast the IDC_* defines to a LPSTR. 2009-01-05 12:35:06 +01:00
Michael Stefaniuc
092b892f54 comctl32: HGDIOBJ is interchangeable with other handle types so don't cast. 2008-10-27 11:29:46 +01:00
Paul Vriens
aad6125340 comctl32/tests: Use win_skip instead of trace. 2008-10-21 11:43:41 +02:00
James Hawkins
0f38a6c881 comctl32: Fix several failing tests in win95. 2008-09-24 13:11:30 +02:00
Francois Gouget
86b3624158 comtcl32/tests: Dynamically load ImageList_SetImageCount() because it is missing on Windows 95. 2007-12-10 12:06:13 +01:00
Dmitry Timoshkov
19377e4ed6 comctl32: Remove a stray back slash. 2007-05-02 14:58:54 +02:00
Dmitry Timoshkov
83f51d08df comctl32: Add more image list tests, fix one problem found. 2007-04-24 11:53:59 +02:00
Dmitry Timoshkov
8c5cf0cbae comctl32: Add an image list storage test, make it pass under Wine. 2007-04-23 13:58:15 +02:00
Rob Shearman
4ef2442608 comctl32: Don't free user32 objects with a gdi32 function in imagelist test.
Use DestroyIcon for releasing the resources associated with created icons.
2007-02-19 12:33:19 +01:00
Rob Shearman
c932790dcf comctl32: Fix imagelist leak in tests. 2006-10-23 15:18:03 +02:00
Michael Ploujnikov
a348e0936a comctl32/tests: Win64 printf format warning fixes. 2006-10-13 15:46:06 +02:00
Mikołaj Zalewski
89f537dd57 comctl32: imagelist: SetImageCount can be used to decrease image count (with testcase). 2006-09-21 17:41:05 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Stefan Huehner
ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Francois Gouget
4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Eric Pouech
4056d7ef8c Fixed some errors in function prototypes. 2004-12-13 21:19:01 +00:00
Francois Gouget
3bb5b093e8 Assorted spelling fixes. 2004-10-22 22:27:51 +00:00
Gerald Pfeifer
8e85b37088 Completely disable unused function show_image(). 2004-10-14 00:34:47 +00:00
Jon Griffiths
ce0fbb5b28 ImageList_Merge should not fail if indices are bad.
Add tests for this case, a visible test mode and fix DrawIndirect test
under some native comctl32.dll's.
2004-10-07 17:34:56 +00:00
Michael Stefaniuc
fd306fb5d1 - native ImageList_Remove dosn't spit out an error message when
deleting an index out of range so don't do that either
- add 2 ImageList_Remove tests
2004-09-28 19:17:43 +00:00
Ferenc Wagner
e07e1ee547 Added \n to ok() strings in the imagelist tests. 2004-09-02 20:08:15 +00:00
Francois Gouget
d661e1a2a9 MSVC does not like the typeof() in the function pointer declaration.
Fix a warning.
2004-08-31 17:32:43 +00:00
Robert Shearman
0aa22f989b Allow image list tests to compile and run on old platforms. 2004-08-26 18:22:31 +00:00
Mike McCormack
99c83d4c57 Tests for icon and bitmap adding and removing and bitmap drawing with
image lists.
2004-08-24 18:41:52 +00:00
Michael Stefaniuc
14d9a7c1e9 Test case for hotspot handling. 2004-08-22 01:59:55 +00:00