Thomas Faber : shell32/tests: Destroy shell view windows.
Module: wine Branch: master Commit: eff884f19b2ace1d475bdaa5fcc519f68d3b7c7f URL: http://source.winehq.org/git/wine.git/?a=commit;h=eff884f19b2ace1d475bdaa5fc... Author: Thomas Faber <thomas.faber(a)reactos.org> Date: Thu Jul 2 06:25:46 2015 -0400 shell32/tests: Destroy shell view windows. --- dlls/shell32/tests/shlview.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dlls/shell32/tests/shlview.c b/dlls/shell32/tests/shlview.c index 1cfffaa..2134a49 100644 --- a/dlls/shell32/tests/shlview.c +++ b/dlls/shell32/tests/shlview.c @@ -676,6 +676,10 @@ if (0) ok(hr == S_OK, "got (0x%08x)\n", hr); IDropTarget_Release(dt); + hr = IShellView_DestroyViewWindow(view); + ok(hr == S_OK, "got (0x%08x)\n", hr); + ok(!IsWindow(hwnd_view), "hwnd %p still valid\n", hwnd_view); + IShellView_Release(view); IShellFolder_Release(desktop); } @@ -835,6 +839,10 @@ if (0) win_skip("IFolderView2 is not supported.\n"); if (fv2) IFolderView2_Release(fv2); + hr = IShellView_DestroyViewWindow(view); + ok(hr == S_OK, "got (0x%08x)\n", hr); + ok(!IsWindow(hwnd_view), "hwnd %p still valid\n", hwnd_view); + IShellBrowser_Release(browser); IFolderView_Release(fv); IShellView_Release(view);
participants (1)
-
Alexandre Julliard