Commit Graph

162 Commits

Author SHA1 Message Date
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
Nikolay Sivov 384ece4d7e comdlg32/itemdlg: Fix setting NULL file name (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-28 21:38:13 +09: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
André Hentschel 03bf3cac66 comdlg32/tests: Disable test which crashes on Win10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-16 21:06:20 +09:00
Vincent Povirk 34d57e3621 comdlg32: Implement radio button lists in item dialog. 2015-09-14 16:47:51 +09:00
Vincent Povirk 9068f2d10c comdlg32: Return success from IFileDialogCustomize::MakeProminent. 2015-09-14 16:21:26 +09:00
Vincent Povirk 4270a8a4dc comdlg32: Return success from IFileDialog2::AddPlace. 2015-09-14 16:21:23 +09:00
Vincent Povirk c5c5163e61 comdlg32: Implement open dropdown menu. 2015-08-28 21:23:26 +09:00
Vincent Povirk d3163241af comdlg32: Partially implement IFileDialogCustomize::EnableOpenDropDown.
This builds a menu but cannot display it yet.
2015-08-19 20:19:56 +09:00
Vincent Povirk 8d8e75849f comdlg32: Implement SetControlItemState for combo boxes. 2015-08-19 20:19:56 +09:00
Vincent Povirk 068a6c7a5f comdlg32: Implement SetControlItemState for menu controls.
This required some rethinking because menus and combo boxes don't
provide a way to "hide" items, just remove them, and native always
shows items in the order they were added even when hidden and shown.
2015-08-19 20:19:56 +09:00
Vincent Povirk b206287c91 comdlg32: Implement overwrite check in item dialog. 2015-08-17 14:47:05 +09:00
Vincent Povirk 3ec84397c9 comdlg32: Add test for IFileDialogEvents::OnOverwrite. 2015-08-17 14:47:01 +09:00
Nikolay Sivov da8fd05251 comdlg32/tests: Test that different IFileDialogCustomize IIDs return same pointer. 2015-08-03 10:57:30 +02:00
Joachim Priesner c5ad37baf0 comdlg32: File dialog: Append multi-part extensions like .abc.def. 2015-06-05 14:32:47 +09:00
Qian Hong 0380ee031c comdlg32/tests: Fixed memory leak (Valgrind). 2014-11-20 22:33:45 +09:00
Francois Gouget 0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02:00
David Hedberg 7b7f4c613f comdlg32: ::SetFileTypeIndex and ::GetFileTypeIndex uses a one-based index. 2014-09-04 13:44:51 +02:00
Francois Gouget e9e76d823f comdlg32/tests: Add a trailing '\n' to an ok() call. 2014-09-04 13:37:21 +02:00
David Hedberg befe0f7b69 comdlg32: Implement calling IFileDialogEvents::OnTypeChange(). 2014-09-03 21:21:58 +02:00
David Hedberg 5f50864811 comdlg32/tests: Add some IFileDialogEvents tests. 2014-09-03 21:21:57 +02:00
David Hedberg aac6255d46 comdlg32: Implement IFileDialogCustomize::StartVisualGroup() and ::EndVisualGroup(). 2014-08-25 15:55:29 +02: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 a5f20b3173 comdlg32/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-28 11:44:24 +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 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 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Detlef Riekenberg 8e56b8332e comdlg32/tests: Handle result from broken drivers. 2013-08-27 21:30:03 +02:00
Detlef Riekenberg 9a7d510ccb comdlg32/tests: Limit the number of copies to avoid a test hang. 2013-08-26 17:05:32 +02:00
Nikolay Sivov f92caf5ba7 comdlg32: Store client GUID with SetClientGuid(). 2013-06-12 12:10:41 +02:00
Francois Gouget fb9d76816a comdlg32/tests: Fix compilation on systems that don't support nameless structs or unions. 2013-05-13 11:07:28 +02:00
Dmitry Timoshkov afb8e0296f comdlg32: Add a test for nCopies/dmCopies returned by PrintDlg. 2013-05-08 12:53:27 +02:00
Dmitry Timoshkov b73323d4e2 comdlg32: Add an interactive PrintDlgEx test. 2013-04-09 11:59:47 +02:00
Detlef Riekenberg 1868fe651f comdlg32/tests: Use win8 failure-code as default result. 2012-12-17 20:31:12 +01: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
Jacek Caban e5e2673984 comdlg32: Use proper helpers for iface calls. 2012-08-16 13:46:29 +02:00
Bruno Jesus 8c5cf7e25f comdlg32: Fix NULL lpstrFile uses in FILEDLG95_OnOpen. 2012-06-19 22:03:21 +02:00
Detlef Riekenberg ed41673306 comdlg32/tests: Add HDC tests for PrintDlgEx. 2012-03-27 12:04:40 +02:00
Detlef Riekenberg 164a76fde3 comdlg32/tests: Test more parameters for PrintDlgEx. 2012-03-27 11:59:55 +02:00
Detlef Riekenberg 65ab4b2cf0 comdlg32/tests: Remove outdated/unused code. 2012-03-27 11:58:25 +02:00
Detlef Riekenberg bea7032687 comdlg32: Exclude the driver path from the result. 2012-02-13 18:37:39 +01:00