Commit Graph

44 Commits

Author SHA1 Message Date
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
Nikolay Sivov 1f1f190bf0 shell32/tests: Add a basic test for NewMenu object creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 13:43:52 +01:00
Nikolay Sivov 4270c08cd7 shell32/tests: Remove null check after dereference (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-24 15:30:23 +02:00
Nikolay Sivov 627630c262 shell32/shellview: Respond to special interface id CDefView.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 10:06:26 +02:00
Nikolay Sivov a528ddd745 shell32/shellview: Handle NULL folder pointer in SHCreateShellFolderViewEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 10:06:21 +02:00
Nikolay Sivov 8ce45458fb shell32/tests: Don't trace all messages sent to listview.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 10:06:13 +02:00
Nikolay Sivov 4478e61d16 shell32: Move SHCreateShellFolderView/SHCreateShellFolderViewEx and tests to corresponding files.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 10:05:54 +02:00
Michael Stefaniuc 851777dcb1 shell32/tests: Use SetRect instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 21:00:45 +09:00
Thomas Faber 360cf273ae shell32/tests: Test that shell view windows reference their shell view. 2015-07-07 16:52:21 +09:00
Thomas Faber eff884f19b shell32/tests: Destroy shell view windows. 2015-07-06 17:09:50 +09:00
Thomas Faber 71f1c90628 shell32/tests: Fix an ok() print. 2015-07-06 17:09:50 +09:00
Thomas Faber 9551179c0b shell32/tests: Remove a misleading test. 2015-06-30 14:41:43 +09:00
Thomas Faber e582495927 shell32: Use QueryInterface in FolderView_GetFolder.
test_IFolderView has a test that shows that the shell folder's reference
count before and after the call to IFolderView_GetFolder is the same.
However this is misleading because it is not a property of the
IFolderView_GetFolder method, but of the desktop shell folder object
that's used in the folder view. Windows <=2003 uses a cached object and
its AddRef/Release methods return constants.
2015-06-30 14:41:43 +09:00
Huw Davies 905e7aad0e shell32/tests: Fix failing test on Win 2k. 2015-06-11 21:05:34 +09:00
Nikolay Sivov a7b99a1f89 shell32/tests: A test for shellview QI for IOleWindow. 2015-05-05 10:16:16 +09:00
Nikolay Sivov 23d546157a shell32: Better handle creation/destruction of shellview window. 2015-05-04 15:08:43 +09:00
Nikolay Sivov e91dac5153 shell32: Update to IFolderView2. 2015-05-01 15:15:56 +09:00
Nikolay Sivov dd9813b5f7 shell32: Added a stub implementation of IShellFolderViewDual3. 2015-04-30 16:20:35 +09:00
André Hentschel 2c1287871b shell32/tests: Remove unused variables (Clang). 2014-12-04 14:03:27 +01:00
Nikolay Sivov 96005d17d5 shell32/tests: Use proper method macros. 2012-08-24 11:32:39 +02:00
Austin English 2811f68e92 shell32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-14 12:27:33 +01:00
Nikolay Sivov 38a995021a shell32/tests: Fix some leaks in tests (Valgrind). 2011-01-17 12:50:58 +01:00
Greg Geldorp 7234ddd263 shell32/tests: Support for IShellFolderView::RemoveObject was removed in Win7. 2010-12-28 16:35:39 +01:00
Michael Stefaniuc 2a2020d997 shell32/tests: Standardize the COM usage in shlview.c. 2010-12-08 16:40:13 +01:00
David Hedberg 18d31c2799 shell32: Don't crash on NULL cmdgroup in DefView OleCommandTarget. 2010-11-08 13:30:21 +01:00
Alexandre Julliard 15c1670a5c shell32/tests: Fix some test failures on Vista. 2010-10-01 15:16:47 +02:00
David Hedberg 0e7a5bf76c shell32: Implement Set/GetCurrentViewMode in the default shellview. 2010-07-23 11:43:05 +02:00
David Hedberg 1d658d4bb7 shell32/tests: Try harder to subclass the listview. 2010-07-20 14:40:32 +02:00
Francois Gouget 4898f6cb36 shell32/tests: Make I{DataObject,ShellBrowser}Impl_Construct() static. 2010-06-24 10:34:25 +02:00
Nikolay Sivov ef7abf1087 shell32/tests: Fix a test crash on Win9x. 2010-03-24 19:01:29 +01:00
Nikolay Sivov 34577a84d9 shell32: Add IFolderView::Item implementation. 2010-03-23 12:19:48 +01:00
Nikolay Sivov 0a32123d10 shell32: Add IShellFolderView::RemoveObject for IShellView. 2010-03-23 12:19:48 +01:00
Nikolay Sivov 1f6c759e0c shell32: IShellView::ContextSensitiveHelp not implemented. 2010-03-23 12:19:48 +01:00
Nikolay Sivov 01ebc66535 shell32: Implement IShellFolderView::QuerySupport no-op method. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 9958b80e9d shell32: Add IShellFolderView::SetRedraw implementation. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 61fc3f9004 shell32: Implement some IShellFolderView methods over IFolderView. 2010-03-22 15:52:36 +01:00
Nikolay Sivov a3d0877ed6 shell32: Add a stub IShellFolderView for IShellView. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 1168b79266 shell32: Properly fail for unsupported interfaces in IShellView::GetItemObject. 2010-03-22 15:52:35 +01:00
Nikolay Sivov 345ab7d591 shell32/shellview: Don't crash on ::DragLeave called without droptraget. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 78c909fb08 shell32/shellview: Implement IFolderView::ItemCount for SVGIO_ALLVIEW flag. 2010-03-15 14:18:06 +01:00
Nikolay Sivov b8220e727c shell32/shellview: Implement IFolderView::GetFolder() for IID_IShellFolder. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 8c92ba009d shell32/shellview: Implemented IFolderView::GetFocusedItem. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 90b9c2fd39 shell32/shellview: Implemented IFolderView::GetSelectionMarkedItem() with basic test. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 537e3821d5 shell32: Initial test file for IShellView/IFolderView, implemented IFolderView::GetSpacing. 2010-03-15 14:18:06 +01:00