Commit Graph

1112 Commits

Author SHA1 Message Date
Vincent Povirk 412222609f user32/tests: Add test calling EndMenu from WM_ENTERMENULOOP. 2014-04-25 10:16:07 +02:00
Patrick Rudolph 66316964a9 user32/tests: Add tests for valid cbSize in GetMonitorInfoW. 2014-04-24 11:38:24 +02:00
Andrew Eikum c4a28490f3 user32: Allow setting horizontal extent even without WS_HSCROLL. 2014-04-24 11:37:13 +02:00
Patrick Rudolph 24c572874d user32/tests: Add tests for valid cbSize in GetMonitorInfoA. 2014-04-22 18:45:30 +02:00
Dmitry Timoshkov c6dbb33e19 user32: When converting from MF_ flags to MENUITEMINFO ignore MF_POPUP if id is not a menu. 2014-04-21 11:09:52 +02:00
Dmitry Timoshkov 7744c7003b user32/tests: Add AppendMenu/ModifyMenu MF_POPUP tests. 2014-04-21 11:09:51 +02:00
Vincent Povirk 68f2b878d2 user32: Allow EndMenu() calls from WM_ENTERMENULOOP. 2014-04-18 14:36:04 +02:00
Piotr Caban 179957d5a9 user32/tests: Fix DrawMenuBar test failures. 2014-04-15 21:03:55 +02:00
Piotr Caban 55ff066103 user32: Don't fail on windows without menu bar in DrawMenuBar. 2014-04-10 16:51:09 +02:00
Akihiro Sagawa 6b616a0fd8 user32: Emit EM_SETSEL message when choosing "Select All" from context menu. 2014-04-08 09:25:15 +02:00
Akihiro Sagawa 0bfc8f05c6 user32: Don't emit WM_COMMAND on choosing an item in a context menu (Edit control). 2014-04-08 09:25:06 +02:00
Akihiro Sagawa 1ba63827f2 user32/tests: Add some tests for edit control context menu messages. 2014-04-08 09:24:47 +02:00
Akihiro Sagawa 0815386430 user32/tests: Don't forget to destroy the parent window after the tests. 2014-04-08 09:24:40 +02:00
Nikolay Sivov ba3a6d1f4b user32: Fix Edit margins calculation for empty client area case. 2014-04-07 09:58:02 +02:00
Piotr Caban 27374064b6 user32: Make it possible to activate a window with parent and no WS_CHILD flag in WS_NCLBUTTONDOWN function. 2014-04-02 19:06:09 +02:00
Francois Gouget ebd9918830 user32/tests: Fix compilation on systems that don't support nameless unions. 2014-03-31 15:28:45 +02:00
Piotr Caban de21941178 user32: Change SetForegroundWindow behavior on windows with parent and no WS_CHILD flag. 2014-03-27 16:18:05 +01:00
Javier Cantero ee5c64f583 user32/tests: New test cases for SubtractRect(). 2014-03-27 12:06:03 +01:00
Piotr Caban 1cf3d8caa4 user32: Change SetFocus behavior on windows with parent and no WS_CHILD flag. 2014-03-26 19:20:44 +01:00
Javier Cantero 6ac11c60f0 user32/tests: Add SubtractRect() test. 2014-03-26 19:20:27 +01:00
Hans Leidekker fb31e0fbe3 user32/tests: Add more tests for PrivateExtractIcons. 2014-03-25 19:01:26 +01:00
Piotr Caban 61a92af5ca user32/tests: Workaround SetForegroundWindow failure due to foreground lock timeout. 2014-03-25 13:55:42 +01:00
Alexandre Julliard e445303ab4 user32/tests: Make a few more messages optional. 2014-03-20 17:09:39 +01:00
Alexandre Julliard 06960ac267 user32/tests: Mark a failing test as todo. 2014-03-19 12:56:11 +01:00
Frédéric Delanoy 9b1a2d8f4f user32/tests: Use BOOL type where appropriate. 2014-03-18 12:32:52 +01:00
Vincent Povirk 7f8d1de1b7 user32/tests: Add message tests for TrackPopupMenu. 2014-03-12 20:25:25 +01:00
Vincent Povirk 0dc1886634 user32/tests: Put some menu items in the test_menu_trackagain menu. 2014-03-12 20:24:24 +01:00
Vincent Povirk b8d80364c3 user32/tests: Add a test for empty popup menus. 2014-03-12 20:24:17 +01:00
Henri Verbeet ec66785f02 user32: Fix TEXT_WordBreak() when no characters fit. 2014-03-11 19:39:35 +01:00
Qian Hong 298e050b43 user32/tests: Skip more winstation tests when no enough privileges. 2014-03-10 12:19:38 +01:00
Nikolay Sivov 83367e874c user32/tests: Properly maintain clipboard viewers chain.
Without this CloseClipboard() will crash on Windows 8 if executed after
test_messages().
2014-03-07 11:36:08 +01:00
Piotr Caban 367577c0d6 user32: Check WS_CHILD style in IsChild function. 2014-02-27 09:51:50 -06:00
Huw Davies fb298aed04 user32: If the listbox loses focus while holding capture, release it by essentially simulating a button up event. 2014-02-20 13:58:32 +01:00
Dmitry Timoshkov 5395d23a7e user32/tests: Flush pending events before testing menu messages. 2014-02-18 19:19:37 +01:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Vincent Povirk ef5341b4d7 user32/tests: Add tests for MonitorFromRect. 2014-01-28 11:50:42 +01:00
André Hentschel fc185ccd9b user32/tests: Remove #if 1. 2014-01-28 11:50:18 +01:00
André Hentschel c855459a40 user32/tests: Avoid preprocessor check to ensure it compiles. 2014-01-28 11:50:15 +01:00
Bruno Jesus 06a6b189f6 user32: Cope with null LPMENUITEMINFO in SetMenuItemInfo. 2014-01-27 14:13:51 +01:00
Alexandre Julliard 70009d053c user32/tests: Protect the global message sequence with a critical section. 2014-01-14 13:31:10 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Frédéric Delanoy 5e94a5d4c9 user32/tests: Constify some character strings. 2013-12-31 12:24:49 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
André Hentschel de92a45822 user32/tests: Allow win8 error code. 2013-11-13 11:24:08 +01:00
André Hentschel 2209fdbdd2 user32/tests: Fix GetSystemMetrics test on Win8. 2013-11-12 12:58:03 +01:00
Qian Hong f7835dea2d user32: Implement OpenInputDesktop. 2013-11-08 16:29:44 +01:00
Frédéric Delanoy 0e37ca1478 user32/tests: Use BOOL type where appropriate. 2013-11-06 12:01:54 +01:00
Frédéric Delanoy 4f6bd4911b user32/tests: Check return code from call to SystemParametersInfo. 2013-11-06 12:01:54 +01:00
Marcus Meissner 6f3d942fa4 user32: Fixed sizeof() to MultiByteToWideChar. 2013-11-06 12:01:53 +01:00
Frédéric Delanoy bb2be17327 user32/tests: Use BOOL type where appropriate. 2013-11-05 11:16:00 +01:00
Francois Gouget 790d2e8b21 user32/tests: When EnumDisplaySettings() fails unexpectedly, trace how many calls were made. 2013-11-01 10:54:25 +01:00
Alexandre Julliard c25c019883 user32: Automatically load comctl32 when one of its classes is requested. 2013-10-28 18:41:04 +01:00
Dmitry Timoshkov ae3a6d52d0 user32/tests: Enable user32 tests compilation with __WINESRC__ defined. 2013-10-24 10:45:38 +02:00
Dmitry Timoshkov 154df653d6 user32/tests: Fix wsprintf tests compilation with __WINESRC__ defined. 2013-10-24 10:45:26 +02:00
Dmitry Timoshkov b890c63660 user32/tests: Fix window station and desktop tests compilation with __WINESRC__ defined. 2013-10-24 10:45:20 +02:00
Dmitry Timoshkov 4c5a32e791 user32/tests: Fix window tests compilation with __WINESRC__ defined. 2013-10-24 10:45:14 +02:00
Dmitry Timoshkov 4734bd9edb user32/tests: Fix text drawing tests compilation with __WINESRC__ defined. 2013-10-24 10:44:56 +02:00
Dmitry Timoshkov c4ec0ed2d6 user32/tests: Fix system parameters tests compilation with __WINESRC__ defined. 2013-10-24 10:44:52 +02:00
Dmitry Timoshkov 371824fb85 user32/tests: Fix static control tests compilation with __WINESRC__ defined. 2013-10-24 10:44:46 +02:00
Dmitry Timoshkov 4d5c668447 user32/tests: Fix scroll tests compilation with __WINESRC__ defined. 2013-10-24 10:44:42 +02:00
Dmitry Timoshkov f26bace5af user32/tests: Fix resource tests compilation with __WINESRC__ defined. 2013-10-24 10:44:31 +02:00
Dmitry Timoshkov a7219e8c88 user32/tests: Fix message tests compilation with __WINESRC__ defined. 2013-10-24 10:44:23 +02:00
Dmitry Timoshkov 33ff6d2549 user32/tests: Fix monitor tests compilation with __WINESRC__ defined. 2013-10-24 10:44:09 +02:00
Dmitry Timoshkov d2ab1731c8 user32/tests: Fix menu tests compilation with __WINESRC__ defined. 2013-10-24 10:44:03 +02:00
Dmitry Timoshkov c8f608e755 user32/tests: Fix listbox tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Dmitry Timoshkov 0e42a41ab3 user32/tests: Fix edit control tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Dmitry Timoshkov 84a80215b9 user32/tests: Fix input tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Dmitry Timoshkov f237d5eef2 user32/tests: Fix dialog tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Dmitry Timoshkov ad638a32d7 user32/tests: Fix DDE tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Dmitry Timoshkov 6d00d04726 user32/tests: Fix DCE tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Dmitry Timoshkov 7603700169 user32/tests: Fix cursor and icon tests compilation with __WINESRC__ defined. 2013-10-23 17:01:46 +02:00
Dmitry Timoshkov 3e3eb805d8 user32/tests: Fix combobox tests compilation with __WINESRC__ defined. 2013-10-23 17:01:46 +02:00
Dmitry Timoshkov 5eb648c8f0 user32/tests: Fix clipboard tests compilation with __WINESRC__ defined. 2013-10-23 17:01:46 +02:00
Dmitry Timoshkov 74f205462b user32/tests: Fix class tests compilation with __WINESRC__ defined. 2013-10-23 17:01:46 +02:00
Dmitry Timoshkov 3c4d7f0d72 user32/tests: Fix broadcast tests compilation with __WINESRC__ defined. 2013-10-23 17:01:46 +02:00
Qian Hong bd5b865f00 user32/tests: Skip desktop tests on NT4. 2013-10-17 12:59:06 +02:00
Qian Hong 00c9c6fde3 user32/tests: Skip winstation tests on NT4. 2013-10-15 16:01:04 +02:00
Qian Hong a0637a7f52 user32/tests: Skip winstation tests when no enough privileges. 2013-10-15 16:00:53 +02:00
Qian Hong 6e32d18f9f user32/tests: Try harder to set foreground window. 2013-10-14 10:45:31 +02:00
Qian Hong 2f26e38580 user32/tests: Make sure to allow setting the foreground window. 2013-10-11 12:45:05 +02:00
Qian Hong b6b9ea7670 user32/tests: Trace foreground window name. 2013-10-11 11:08:18 +02:00
Andrew Eikum 3ff27f3544 user32: Don't try to paint during WM_SETFOCUS if the edit control is not visible. 2013-10-11 11:04:58 +02:00
Qian Hong 5da10c9a0e user32/tests: Added foreground window tests on different desktops. 2013-10-08 15:39:01 +02:00
Qian Hong 43e1df02d2 user32/tests: Added input desktop tests on different winstations. 2013-10-08 15:39:01 +02:00
Qian Hong 834ce9a2d7 user32/tests: Clean side effect after testing winstation. 2013-10-08 15:39:01 +02:00
Qian Hong a07e0c5a4a user32/tests: Fixed typo in comments. 2013-10-08 15:39:00 +02:00
Francois Gouget 39f8c2201c user32/tests: Fix compilation on systems that don't support nameless unions. 2013-10-07 14:44:34 +02:00
Qian Hong b0cac34363 user32/tests: Added tests for OpenInputDesktop and SwitchDesktop. 2013-10-03 20:14:41 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc 9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
Michael Stefaniuc 7c7fa1051c user32: Avoid using CONST. 2013-09-24 12:57:57 +02:00
Nikolay Sivov 47650c3320 user32/tests: Test to show that SendMessage/PostMessage don't force caller activation context on window thread. 2013-09-06 17:25:08 +02:00
Francois Gouget 653354ab25 Assorted spelling fixes. 2013-07-03 21:20:04 +02:00
Francois Gouget bd97f64d04 user32/tests: Add a trailing '\n' to a few ok() calls. 2013-06-14 11:45:19 +02:00
Marcus Meissner b853ddc40b user32/tests: Remove side effects from assert()s. 2013-06-10 11:56:27 +02:00
Sergey Guralnik e90418d31c user32: Bring reference MDI child to bottom when switching to next. 2013-06-06 10:42:51 +02:00
Sergey Guralnik fe2f877678 user32/tests: Test MDI child order changing caused by WM_MDINEXT. 2013-06-05 20:30:58 +02:00
Sergey Guralnik e3219fa426 user32/tests: Fix a typo. 2013-05-29 19:48:57 +02:00
Ken Thomases 7e0c42e839 user32/tests: Test that sending WM_CANCELMODE cancels tracking in window's menu bar. 2013-05-20 21:15:38 +02:00
Detlef Riekenberg caf1bbba94 user32/tests: Add tests for EM_GETHANDLE. 2013-05-17 16:59:20 +02:00
Piotr Caban dd573925e5 user32: Use SendNotifyMessage to send WM_DRAWCLIPBOARD. 2013-05-15 19:57:34 +02:00
Huw Davies d3fec2ce9c user32/tests: Add tests to show that WM_CHAR W<->A mapping uses the codepage associated with the current keyboard layout. 2013-05-13 20:52:08 +02:00
Nikolay Sivov 8f7779fc3b user32: Implement GetListBoxInfo(). 2013-05-07 20:07:41 +02:00
Erich Hoover 057b0d8bca user32: SetTimer and SetSystemTimer should respect the timeout limits. 2013-05-06 15:55:20 +02:00
Sergey Guralnik 108173fd09 user32/tests: SetWindowPos() propagates update region from WS_CLIPCHILDREN child to its children. 2013-04-12 16:28:13 +02:00
Huw Davies 698c7f0f3f user32: Invalidate the listbox in LB_SETCOUNT. 2013-03-28 18:53:57 +01:00
Alexandre Julliard 3369c53202 user32/tests: Define the required Windows version before including anything. 2013-02-18 14:51:05 +01:00
Sergey Guralnik 1cd5e69478 user32: Init standard scrollbars during WM_NCCREATE. 2013-01-24 17:31:32 +01:00
Sergey Guralnik 77337d75f2 user32/tests: Test standard scrollbar initialization. 2013-01-22 20:01:59 +01:00
Alexandre Julliard ab2cac4815 user32: Fix handling of NULL paint struct in BeginPaint. 2012-11-27 20:52:25 +01:00
Alexandre Julliard 841214ddb4 user32: Don't check for driver events before normal messages in PeekMessage. 2012-11-21 19:20:27 +01:00
Michael Stefaniuc 8f7eaf26ce user32: Remove two superfluous casts. 2012-11-19 11:46:35 +01:00
Christian Costa 5267f8b7d9 user32: Add tests for MapWindowPoints, ClientToScreen and ScreenToClient.
Based on a patch by Rico Schüller.
2012-11-14 16:29:51 +01:00
Alexandre Julliard b5d96da32f user32: Add helper functions to get and set dword registry values in SystemParametersInfo. 2012-11-12 16:35:16 +01:00
Michael Stefaniuc 2e31a44aca user32/test: Don't over-allocate memory for DDEDATA. 2012-10-31 16:12:27 +01:00
Alexandre Julliard 181e432e22 user32/tests: Don't release a random DC handle. 2012-10-18 22:28:48 +02:00
Francois Gouget b17ded0ac1 user32/tests: Add a trailing '\n' to an ok() call. 2012-10-15 19:37:36 +02:00
Alexandre Julliard 0bc93684f0 winex11: Move the icon window off-screen for managed windows. 2012-10-15 16:17:22 +02:00
Sergey Guralnik 3d4db9f28f user32: Add internal class small icons. 2012-10-15 15:27:28 +02:00
Sergey Guralnik e193e43c29 user32/tests: Add tests for class small icons. 2012-10-11 20:23:36 +02:00
Alexandre Julliard 53e4e504b9 user32: Add tests for UpdateLayeredWindowIndirect and fix the behavior of the ULW_EX_NORESIZE flag. 2012-09-27 17:45:43 +02:00
Michael Stefaniuc 1e5328c77c user32: Remove superfluous function pointer casts. 2012-09-20 19:22:59 +02:00
Alexandre Julliard 8e87b9233a user32/tests: Fix coordinates in the UpdateLayeredWindow broken case. 2012-09-18 14:47:00 +02:00
Alexandre Julliard b57323a61e user32/tests: Add a test for calling UpdateLayeredWindow from a different thread. 2012-09-17 14:13:27 +02:00
Alexandre Julliard b9fa73a798 user32/tests: Add some tests for UpdateLayeredWindow. 2012-09-13 13:50:57 +02:00
Alexandre Julliard f71be05ba7 user32: ScrollWindow should not use a cached DC, unlike ScrollWindowEx. 2012-08-29 12:22:58 +02:00
Alex Henrie 4b67e6c778 user32: Correct dialog focus behavior. 2012-08-16 11:59:23 +02:00
Michael Stefaniuc 4affaea0ba user32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 11:50:51 +02:00
Sergey Guralnik cbf9589ba3 user32: Rearrange ComboBox repositioning code. 2012-07-26 21:38:10 +02:00
Alexandre Julliard b3d91ea3b6 user32/tests: Try to fix a test that frequently fails on Windows. 2012-07-18 11:48:54 +02:00
Alexandre Julliard d8c90fa40b user32/tests: Move DlgDirList tests to avoid changing the current directory for other tests. 2012-07-17 16:22:34 +02:00
Bruno Jesus 81cbf29ef3 user32/tests: Update DlgDirList tests.
Based on original patch from Christian Lupien.
2012-07-16 18:19:26 +02:00
Bruno Jesus b3d7896aad user32/tests: Add a test for OpenClipboard twice with non-zero hwnd. 2012-07-09 15:45:37 -04:00
Sergey Guralnik fb4545847e user32: Add test for ComboBox repositioning behavior. 2012-07-03 12:04:57 +02:00
Michael Stefaniuc 824974cee4 user32/tests: Fix the expected values in some ok() messages. 2012-06-04 19:36:15 +02:00
Piotr Caban 42eb57dfa7 user32/tests: Added SetWindowPos test that incorrectly sets focus. 2012-05-22 18:02:55 +02:00
Piotr Caban 1a74d21090 user32/tests: Added more GetMenuBarInfo tests. 2012-05-16 20:27:23 +02:00
Piotr Caban 1128546437 user32/tests: Added GetMenuBarInfo tests. 2012-05-16 20:27:21 +02:00
Michael Stefaniuc ca64393e99 user32/tests: Remove duplicated ok() call. 2012-05-16 18:30:21 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Francois Gouget 1c9bf32e19 user32/tests: Add a trailing '\n' to ok() calls. 2012-05-15 16:26:39 +02:00
Michael Stefaniuc c6033397f3 user32/tests: Check the correct variable for the correct value. 2012-05-15 16:26:38 +02:00
Owen Rudge fecde1ead8 user32: Return Unicode length instead of ANSI in GetUserObjectInformationA. 2012-05-14 17:48:32 +02:00
Owen Rudge 83f67ff998 user32: Correct return value when buffer too short in GetUserObjectInformation. 2012-05-14 17:48:27 +02:00
Owen Rudge f443f29150 user32/tests: Add GetUserObjectInformation tests. 2012-05-14 17:48:22 +02:00
Dmitry Timoshkov 38387dcffe user32: IsDialogMessage should allow control ids other than IDOK when processing WM_KEYDOWN. 2012-03-29 20:49:19 +02:00
Thomas Faber eaaa448d2b user32/tests: Do not depend on argument evaluation order. 2012-02-22 18:47:38 +01:00
Alexandre Julliard f87191815d user32: Fix GetKeyNameText returned length. 2012-02-15 12:07:34 +01:00
Alexandre Julliard 8ab65c222e user32: Draw the mask with SRCCOPY in DrawIcon when the image isn't being drawn. 2012-02-08 11:00:51 -06:00
Dmitry Timoshkov 9d538e43be user32: Make FlashWindowEx tests pass under Windows. 2012-02-07 09:31:33 -06:00