Commit Graph

17 Commits

Author SHA1 Message Date
Gabriel Ivăncescu ea5db7dd12 shell32/tests: Test hijacking the edit control's procedure after AutoComplete.
Windows' AutoComplete seems to bypass hijacking in some cases. However,
WM_GETTEXT seems to be able to get hijacked.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-24 22:41:30 +02:00
Gabriel Ivăncescu 7c844af838 shell32/tests: Send WM_CHAR instead of WM_KEYUP.
There's no need to send a WM_KEYUP anymore since it now matches Windows
behavior.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:20:30 +02:00
Gabriel Ivăncescu 6f3e83f7fc shell32/tests: Add a test for binding a different AutoComplete object to the same edit control.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-30 19:55:24 +02:00
Michael Stefaniuc c57b9b8d9f shell32/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-15 12:56:48 +02:00
Nikolay Sivov a6ad34f855 shell32/tests: Use the global memory allocation helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 20:13:02 +01:00
Fabian Maurer 5e88f928ed shell32/tests: Add test for IAutoComplete2 with custom source.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-20 12:37:15 +01:00
Nikolay Sivov fa93dadfa1 shell32/tests: Fix compilation with -D__WINESRC__. 2013-10-28 14:22:20 +01:00
Andrew Nguyen 4145fe0ec2 shell32: Store the autocompletion object pointer in a window property rather than in the window user data. 2011-02-01 12:10:40 +01:00
Andrew Nguyen 4dc304489f shell32: Improve initialization state and parameter handling in IAutoComplete::Init. 2011-02-01 12:10:35 +01:00
Andrew Nguyen 13b834561b shell32/tests: Release the IAutoComplete interface on a failure path. 2011-02-01 12:10:13 +01:00
Nikolay Sivov edcaf53f94 shell32/tests: Use strict comparison for return values. 2010-03-23 12:19:48 +01:00
Nikolay Sivov 6a0bdddfc4 shell32: Add a note about a possible crash on NULL input. 2010-03-22 15:52:36 +01:00
Alexandre Julliard d5a54642f4 shell32/tests: Fix broken check of the ok() macro return value.
Spotted by Yann Droneaud.
2010-02-24 16:04:05 +01:00
Rob Shearman 16f4b56345 shell32: Fix memory leaks in autocomplete tests. 2009-12-30 13:37:06 +01:00
Rob Shearman 0fd772be99 shell32: Fix style in autocomplete tests to more match the typical style used in the rest of Wine. 2009-12-30 13:36:57 +01:00
Paul Vriens c88aea3b0c shell32/tests: Don't crash on missing class implementations. 2009-03-09 14:21:49 +01:00
Jan de Mooij 8c6495cc23 shell32/autocomplete: Add unit tests for autocomplete. 2008-12-03 09:47:06 +01:00