Commit Graph

42 Commits

Author SHA1 Message Date
Alex Henrie 4dcc7a5ae8 shell32/tests: Wait for window to close in check_window_exists.
This fixes a race condition where the directory is deleted before the
window closes, which causes an error dialog to appear.

Cutting the number of iterations per wait loop in half is necessary so
that doubling the number of wait loops does not result in a timeout when
new tests are added.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-09 18:37:33 +01:00
Francois Gouget 308447324f shlwapi/tests: Fix the spelling of a couple of ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Alexandre Julliard 2d6de2d129 shell32/tests: Wait a bit longer for the explorer window to be created.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-10 12:58:48 -06:00
Alex Henrie 946b4ad270 shell32/tests: Drop progman DDE test workarounds for Windows <= 2000.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-09 16:03:32 +01:00
Andrey Gusev 498009c6bd shell32/tests: Fix resource leak.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-05 16:13:28 +01:00
André Hentschel 5200f3472f shell32/tests: Don't test functions directly when reporting DdeGetLastError().
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 11:10:25 +01:00
Zebediah Figura 35d203622b shell32: Implement the Groups request for Progman DDE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-04 11:42:53 +01:00
Zebediah Figura 7ddd41e326 shell32: Implement the ExitProgman() command for Progman DDE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-04 11:42:41 +01:00
Zebediah Figura 57a94970f5 shell32: Implement the ReplaceItem() command for Progman DDE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-04 11:42:34 +01:00
Zebediah Figura 8b2f586343 shell32/tests: Simplify existing tests and add more tests for Progman DDE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 18:43:58 +01:00
Zebediah Figura 64c456af77 shell32: Implement the DeleteItem() command for Progman DDE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 18:43:35 +01:00
Zebediah Figura 6e5efd001c shell32: Implement the AddItem() command for Progman DDE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 18:43:33 +01:00
Zebediah Figura fd851064d8 shell32: Implement the ShowGroup() command for Progman DDE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:24:15 +01:00
Zebediah Figura 957da4ee07 shell32: Implement the DeleteGroup() command for Progman DDE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:24:13 +01:00
Zebediah Figura 83ca4e20cc shell32: Implement the CreateGroup() command for Progman DDE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:24:11 +01:00
Zebediah Figura 106722494a shell32/tests: Simplify and standardize test structure for progman_dde.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 21:24:50 +01:00
Frédéric Delanoy 61e70dfbc7 shell32/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:10 +09:00
Francois Gouget bd111803d2 shell32/tests: Only look for Explorer windows for the progman tests.
In the Spanish locale the 'Startup' folder is called 'Inicio' which
matches another window. Closing that window causes the shutdown dialog
to pop up, resulting in a test timeout.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 22:58:26 +09:00
Huw Davies da5151fd54 shell32/tests: Don't leave behind open explorer windows. 2015-06-23 21:59:40 +09:00
Frédéric Delanoy c398f8ce0e shell32/tests: Use BOOL type where appropriate. 2013-10-31 09:58:43 +01:00
Nikolay Sivov fa93dadfa1 shell32/tests: Fix compilation with -D__WINESRC__. 2013-10-28 14:22:20 +01:00
Nikolay Sivov 4ca01b3475 shell32/tests: Fix a dependency on unimplemented function call (Valgrind). 2011-01-31 12:29:35 +01:00
Gerald Pfeifer 3a88623553 shell32/tests: Remove variable res which is not really used from init_strings. 2010-05-10 10:16:45 +02:00
Paul Vriens 83c422e111 shell32/tests: Fix crash on ancient Win95. 2010-01-19 16:51:05 +01:00
Paul Vriens 5fa94d18c5 shell32/tests: Remove a useless string. 2009-12-08 17:44:30 +01:00
Paul Vriens ba5142f342 shell32/tests: Remove a now unused define. 2009-12-08 17:44:23 +01:00
Paul Vriens ea95977825 shell32/tests: Removed an unused define. 2009-12-08 17:44:16 +01:00
Paul Vriens 495d353c63 shell32/tests: Decide whether to use CSIDL_PROGRAMS or CSIDL_COMMON_PROGRAMS by checking admin rights. 2009-12-08 17:44:08 +01:00
Paul Vriens b965a5f0e0 shell32/tests: Cope with non-English Vista+ and short names in the title bar of explorer windows. 2009-12-08 17:44:01 +01:00
Paul Vriens 1c582d2ac5 shell32/tests: Don't fill a string with potential garbage. 2009-12-03 15:26:41 +01:00
Paul Vriens e5d37c8d4a shell32/tests: Fix test failure on non-English locale. 2009-12-01 12:23:52 +01:00
Paul Vriens e5d83ac625 shell32/tests: Remove an unneeded HeapAlloc. 2009-11-29 16:39:08 +01:00
Paul Vriens 1c6f813bc7 shell32/tests: Fix test failures on Vista and higher. 2009-11-29 16:39:03 +01:00
Paul Vriens 98fef79f2d shell32/tests: Use ReadCabinetState to check title logic. 2009-11-29 16:38:53 +01:00
Paul Vriens f8134cee10 shell32/tests: Cope with systems lacking SHGetSpecialFolderPath. 2009-11-29 16:38:34 +01:00
Paul Vriens d5dac6c43d shell32/tests: Only fetch some special folders once. 2009-11-29 16:38:26 +01:00
Paul Vriens 17089d0c2e shell32/tests: Run tests on NT4 again. 2009-11-29 16:38:13 +01:00
Paul Vriens ac85305c95 shell32/tests: Fix test failures on several platforms. 2009-11-24 18:13:58 +01:00
Mikey Alexander d51b4e19fb shell32/tests: Fix Program Manager DDE conformance test failures. 2009-11-16 17:47:37 +01:00
Paul Vriens 8d5e5e74a1 shell32/tests: Run tests again on NT4. 2009-11-11 11:26:57 +01:00
Francois Gouget 5fb3985fa5 Assorted spelling fixes. 2009-11-09 19:42:31 +01:00
Mikey Alexander 91bf659dd6 shell32/tests: Add Program Manager DDE conformance tests. 2009-11-05 14:45:33 +01:00