Nikolay Sivov : comctl32/listview: Remove parent creation test. It' s unrelated to ListView.

Alexandre Julliard julliard at winehq.org
Fri Jul 3 09:31:09 CDT 2009


Module: wine
Branch: master
Commit: ab527a6e0f3633332d74f28459f6e8c64f602b0e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ab527a6e0f3633332d74f28459f6e8c64f602b0e

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Fri Jul  3 12:36:24 2009 +0400

comctl32/listview: Remove parent creation test. It's unrelated to ListView.

---

 dlls/comctl32/tests/listview.c |   27 ---------------------------
 1 files changed, 0 insertions(+), 27 deletions(-)

diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index d5bcbf5..d959deb 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -89,31 +89,6 @@ static HWND subclass_editbox(HWND hwndListview);
 
 static struct msg_sequence *sequences[NUM_MSG_SEQUENCES];
 
-static const struct message create_parent_wnd_seq[] = {
-    { WM_GETMINMAXINFO,     sent },
-    { WM_NCCREATE,          sent },
-    { WM_NCCALCSIZE,        sent|wparam, 0 },
-    { WM_CREATE,            sent },
-    { WM_SHOWWINDOW,        sent|wparam, 1 },
-    { WM_WINDOWPOSCHANGING, sent|wparam, 0 },
-    { WM_QUERYNEWPALETTE,   sent|optional },
-    { WM_WINDOWPOSCHANGING, sent|wparam, 0 },
-    { WM_WINDOWPOSCHANGED,  sent|optional },
-    { WM_NCCALCSIZE,        sent|wparam|optional, 1 },
-    { WM_ACTIVATEAPP,       sent|wparam, 1 },
-    { WM_NCACTIVATE,        sent|wparam, 1 },
-    { WM_ACTIVATE,          sent|wparam, 1 },
-    { WM_IME_SETCONTEXT,    sent|wparam|defwinproc|optional, 1 },
-    { WM_IME_NOTIFY,        sent|defwinproc|optional },
-    { WM_SETFOCUS,          sent|wparam|defwinproc, 0 },
-    /* Win9x adds SWP_NOZORDER below */
-    { WM_WINDOWPOSCHANGED,  sent, /*|wparam, SWP_SHOWWINDOW|SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE*/ },
-    { WM_NCCALCSIZE,        sent|wparam|optional, 1 },
-    { WM_SIZE,              sent },
-    { WM_MOVE,              sent },
-    { 0 }
-};
-
 static const struct message create_ownerdrawfixed_parent_seq[] = {
     { WM_NOTIFYFORMAT, sent },
     { WM_QUERYUISTATE, sent|optional }, /* Win2K and higher */
@@ -3707,9 +3682,7 @@ START_TEST(listview)
 
     init_msg_sequences(sequences, NUM_MSG_SEQUENCES);
 
-    flush_sequences(sequences, NUM_MSG_SEQUENCES);
     hwndparent = create_parent_window(FALSE);
-    ok_sequence(sequences, PARENT_SEQ_INDEX, create_parent_wnd_seq, "create parent window", TRUE);
     flush_sequences(sequences, NUM_MSG_SEQUENCES);
 
     g_is_below_5 = is_below_comctl_5();




More information about the wine-cvs mailing list