Commit Graph

65 Commits

Author SHA1 Message Date
Michael Stefaniuc 31ea5a2ab5 comdlg32/tests: Don't undefine ARRAY_SIZE().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 22:03:33 +02:00
Michael Stefaniuc 7b5668a6e7 include: Make ARRAY_SIZE() available in wine/test.h.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 12:09:17 +02:00
Nikolay Sivov 284bfc677b comdlg32/tests: Remove a macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-16 16:41:25 +01:00
Józef Kucia 1707df3da2 comdlg32: Delay OleInitialize() until after file dialog window is created.
This fixes a problem exposed by commit
f65e04770d.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 20:40:13 +01:00
Józef Kucia 5dda6495eb comdlg32/tests: Add test for OLE initialization in file dialogs.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 20:40:13 +01:00
Alistair Leslie-Hughes 3126d9ca4c comdlg32/tests: Test when a directory is passed to OpenFileName Dialog.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-27 18:06:29 +02:00
Michael Stefaniuc db134bbd5a comdlg32/tests: Use wine_dbgstr_rect() to print RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-10 20:34:03 +09:00
Nikolay Sivov be27c23df9 comdlg32/tests: Simplify a test using todo_wine_if().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 12:17:47 +09:00
Alexandre Julliard 5095ee32af user32: Fix WS_EX_DLGMODALFRAME handling in AdjustWindowRect and add more tests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-07 22:30:56 +09:00
Joachim Priesner c5ad37baf0 comdlg32: File dialog: Append multi-part extensions like .abc.def. 2015-06-05 14:32:47 +09:00
Frédéric Delanoy ce1175149b comdlg32/tests: Use BOOL type where appropriate. 2014-02-25 14:21:50 -06:00
Frédéric Delanoy e5d954096b comdlg32/tests: Use BOOL type where appropriate. 2013-10-23 11:22:25 +02:00
Nikolay Sivov e011d0e3c7 comdlg32/tests: Compile with -D__WINESRC__. 2013-10-15 17:43:41 +02:00
Frédéric Delanoy 2bbe7a330c comdlg32/tests: Use BOOL type where appropriate. 2013-10-07 13:32:06 +02:00
Michael Stefaniuc 098fd25009 comdlg32/tests: Fix the prototype of callback functions. 2012-11-20 19:47:03 +01:00
Huw Davies 37975ba776 comdlg32/tests: Explicitly set the structure size to the nt40 version size. 2012-09-21 17:07:47 +02:00
Bruno Jesus 8c5cf7e25f comdlg32: Fix NULL lpstrFile uses in FILEDLG95_OnOpen. 2012-06-19 22:03:21 +02:00
Alex Henrie f0b274bada comdlg32: Correctly handle filters with invalid extensions in Save As dialogs. 2012-01-25 11:53:44 +01:00
Alex Henrie 7a34094e6e comdlg32: Correctly handle filters with multiple file extensions in Save As dialogs. 2012-01-23 17:44:11 +01:00
Alexandre Julliard 117efddd79 comdlg32/tests: Fix a couple of test failures on NT4. 2011-08-04 08:51:54 +02:00
Alexandre Julliard c1dafc514a comdlg32/tests: Print the id of the GetSaveFileName test on failure. 2011-07-21 11:11:20 +02:00
David Hedberg fb391afaef comdlg32/tests: Add initial tests for the Item Dialog. 2011-03-30 12:27:54 +02:00
Austin English 5c9d341c69 comdlg32/tests: Remove win9x hacks. 2011-02-28 13:11:09 +01:00
Wolfram Sang 5cb4c55335 comdlg32: Filedlg should not add extension if it contains a glob. 2011-01-31 13:01:07 +01:00
Greg Geldorp 4d7e73397d comdlg32/tests: Fix expected height computation. 2011-01-17 13:22:05 +01:00
André Hentschel a608fe9328 comdlg32/tests: Don't test function directly when reporting GetLastError(). 2010-12-30 15:00:30 +01:00
Eryk Wieliczko 4bbde8fdd7 comdlg32/tests: Add GetSaveFileName .* extension test. 2010-11-02 14:12:01 +01:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Andrew Eikum 1b7a3dae6e comdlg32/tests: Use GetOpenFileNameA instead of GetOpenFileNameW. 2010-07-29 10:22:08 +02:00
Andrew Eikum 4b93548df1 comdlg32: Store and use save/open dialogs' most-recently-used data. 2010-07-24 11:18:11 +02:00
Andrew Eikum 93f9b4e144 comdlg32/tests: Untie ok_testcases from test_ok(). 2010-07-23 13:05:32 +02:00
Paul Vriens 50592566d3 comdlg32/tests: Fix some test failures on Win7. 2009-11-20 14:49:19 +01:00
Rein Klazes 3e76f88d27 comdlg32: Make explorer type file dialogs without custom template or hook proc resizable. 2009-10-07 12:28:21 +02:00
Paul Vriens 6a3c56a589 comdlg32/tests: Test the correct path length for CDM_GETFOLDERPATH. 2009-09-16 13:00:21 -05:00
Paul Vriens e848a6f6e4 comdlg32/tests: Fix a test failure on Vista/W2K. 2009-09-16 13:00:03 -05:00
Ge van Geldorp 5d38ddc208 comdlg32/tests: Fix test on Win7. 2009-08-31 12:41:05 +02:00
Rein Klazes b7a852b1df comdlg32/tests: Fix some test failures on Win95 and NT4.
Reported by Paul Vriens.
2009-08-10 13:11:21 +02:00
Rein Klazes 229d9a6e03 comdlg32: Fix problems in calculation of the size of a file dialog. 2009-08-06 17:26:32 +02:00
Nicolas Le Cam b0dcfa7a23 comdlg32/tests: Fix a failing test on Win2k and below. 2009-08-04 13:04:47 +02:00
Nicolas Le Cam 9089c3e1d2 comdlg32/tests: Hardcode expected values when possible. 2009-08-04 13:04:39 +02:00
Rein Klazes 1f825a3631 comdlg32: Set MAXTEXTROWS of the toolbar in the file dialog to zero. 2009-08-03 14:57:42 +02:00
Rein Klazes 36d5265aee comdlg32/tests: Remove file dialog resize tests that rely on CDN_SELCHANGE notifications.
These notifications are not always sent on some (but not all) win2k3/vista/win2k8 machines.
2009-07-13 10:26:14 +02:00
Rein Klazes 1b41bafa07 comdlg32: Memorize and restore the size of the file dialog between calls.
Includes some fine tuning to fix a couple of todo's in the tests.
2009-07-10 12:12:58 +02:00
Rein Klazes c23ccc03d9 comdlg32: Rearrange some more controls when resizing a file dialog. 2009-07-07 11:01:14 +02:00
Rein Klazes b46f8b1b32 comdlg32/tests: fix a few test failures on Vista and higher. 2009-07-03 13:06:17 +02:00
Rein Klazes f9c8e7e38a comdlg32: Don't call ShowWindow for the custom dialog until all rearrangements of the file dialog have been done. 2009-07-02 14:25:58 +02:00
Rein Klazes ce85668416 comdlg32: Fix a problem with the returned value of a CDN_FILEOK notification. 2009-06-30 12:34:06 +02:00
Paul Vriens 5d898e3ebe comdlg32/tests: Fix some typos. 2009-06-17 17:23:21 +02:00
Rein Klazes 8526eee472 comdlg32/tests: Fix file dialog resize failures on NT4 and with tiny desktops. 2009-06-17 12:05:04 +02:00
Rein Klazes b498fe7544 comdlg32: Delay setting the initial size of resizable file dialog until the CDN_INITDONE notification has been processed. 2009-06-16 13:29:48 +02:00