ReactOS 0.4.16-dev-197-g92996da
|
#include <stdio.h>
#include <windows.h>
#include <commctrl.h>
#include "wine/test.h"
#include "v6util.h"
#include "msg.h"
Go to the source code of this file.
Macros | |
#define | LISTVIEW_ID 0 |
#define | HEADER_ID 1 |
#define | expect(expected, got) ok(got == expected, "Expected %d, got %d\n", expected, got) |
#define | expect2(expected1, expected2, got1, got2) |
#define | X(f) p##f = (void*)GetProcAddress(hComCtl32, #f); |
#define | test_lvm_hittest(a, b, c, d, e, f, g, h) test_lvm_hittest_(a,b,c,d,e,f,g,h,__LINE__) |
#define | test_lvm_subitemhittest(a, b, c, d, e, f, g, h, i) test_lvm_subitemhittest_(a,b,c,d,e,f,g,h,i,__LINE__) |
#define | TEST_NO_HEADER(a) test_header_presence_(a, FALSE, __LINE__) |
#define | TEST_HEADER_EXPECTED(a) test_header_presence_(a, TRUE, __LINE__) |
#define | TEST_NO_HEADER2(a, b) test_header_presence_(a, b, __LINE__) |
Enumerations | |
enum | seq_index { COMBINED_SEQ_INDEX = 0 , NUM_MSG_SEQUENCES , LB_SEQ_INDEX , PARENT_SEQ_INDEX , NUM_MSG_SEQUENCES , PARENT_SEQ_INDEX , PARENT_FULL_SEQ_INDEX , PARENT_CD_SEQ_INDEX , LISTVIEW_SEQ_INDEX , EDITBOX_SEQ_INDEX , COMBINED_SEQ_INDEX , NUM_MSG_SEQUENCES , PARENT_SEQ_INDEX = 0 , NUM_MSG_SEQUENCES } |
Definition at line 49 of file listview.c.
Definition at line 50 of file listview.c.
#define HEADER_ID 1 |
Definition at line 47 of file listview.c.
#define LISTVIEW_ID 0 |
Definition at line 46 of file listview.c.
#define TEST_HEADER_EXPECTED | ( | a | ) | test_header_presence_(a, TRUE, __LINE__) |
Definition at line 1615 of file listview.c.
Definition at line 859 of file listview.c.
#define test_lvm_subitemhittest | ( | a, | |
b, | |||
c, | |||
d, | |||
e, | |||
f, | |||
g, | |||
h, | |||
i | |||
) | test_lvm_subitemhittest_(a,b,c,d,e,f,g,h,i,__LINE__) |
Definition at line 886 of file listview.c.
#define TEST_NO_HEADER | ( | a | ) | test_header_presence_(a, FALSE, __LINE__) |
Definition at line 1614 of file listview.c.
Definition at line 1616 of file listview.c.
Definition at line 36 of file listview.c.
Definition at line 1911 of file listview.c.
Referenced by test_customdraw().
|
static |
Definition at line 6505 of file listview.c.
Referenced by test_LVM_GETCOUNTPERPAGE().
Definition at line 690 of file listview.c.
Referenced by is_below_comctl_5(), is_win_xp(), test_approximate_viewrect(), test_callback_mask(), test_canceleditlabel(), test_color(), test_columns(), test_create(), test_createdragimage(), test_customdraw(), test_deleteitem(), test_destroynotify(), test_dispinfo(), test_editbox(), test_finditem(), test_get_set_view(), test_getcolumnwidth(), test_getitemposition(), test_getitemrect(), test_getitemspacing(), test_getorigin(), test_getviewrect(), test_header_notification(), test_header_notification2(), test_header_proc(), test_hittest(), test_hover(), test_icon_spacing(), test_imagelists(), test_images(), test_indentation(), test_insertitem(), test_item_count(), test_item_position(), test_item_state_change(), test_LVM_GETCOUNTPERPAGE(), test_LVM_REDRAWITEMS(), test_LVM_SETITEMTEXT(), test_LVN_ENDLABELEDIT(), test_LVS_EX_HEADERINALLVIEWS(), test_LVS_EX_TRANSPARENTBKGND(), test_LVSCW_AUTOSIZE(), test_mapidindex(), test_multiselect(), test_norecompute(), test_nosortheader(), test_notifyformat(), test_ownerdata(), test_redraw(), test_scrollnotify(), test_setredraw(), test_sorting(), test_state_image(), and test_subitem_rect().
Definition at line 713 of file listview.c.
Referenced by test_notifyformat().
Definition at line 640 of file listview.c.
|
static |
Definition at line 1599 of file listview.c.
Referenced by test_create().
Definition at line 4640 of file listview.c.
Referenced by is_below_comctl_5().
|
static |
Definition at line 785 of file listview.c.
Referenced by subclass_editbox().
Definition at line 6053 of file listview.c.
Referenced by test_oneclickactivate().
Definition at line 4942 of file listview.c.
Referenced by test_getcolumnwidth().
|
static |
Definition at line 751 of file listview.c.
Referenced by subclass_header().
|
static |
Definition at line 83 of file listview.c.
Referenced by START_TEST().
Definition at line 1189 of file listview.c.
Referenced by test_customdraw(), test_editbox(), test_getitemposition(), test_getitemrect(), test_getviewrect(), test_hittest(), test_items(), test_LVN_ENDLABELEDIT(), test_LVSCW_AUTOSIZE(), test_scrollnotify(), and test_state_image().
Definition at line 1202 of file listview.c.
Referenced by is_below_comctl_5(), test_callback_mask(), test_canceleditlabel(), test_columns(), test_createdragimage(), test_customdraw(), test_deleteitem(), test_dispinfo(), test_finditem(), test_getitemposition(), test_hittest(), test_item_state_change(), test_LVM_REDRAWITEMS(), test_LVM_SETITEMTEXT(), test_LVSCW_AUTOSIZE(), test_mapidindex(), test_multiselect(), test_scrollnotify(), and test_subitem_rect().
|
static |
Definition at line 4645 of file listview.c.
Referenced by START_TEST().
Definition at line 736 of file listview.c.
Referenced by test_create().
|
static |
Definition at line 668 of file listview.c.
Referenced by create_listview_control(), and create_listview_controlW().
|
static |
Definition at line 469 of file listview.c.
Referenced by register_parent_wnd_class().
Definition at line 605 of file listview.c.
START_TEST | ( | listview | ) |
Definition at line 6655 of file listview.c.
Definition at line 814 of file listview.c.
Referenced by parent_wnd_proc().
Definition at line 772 of file listview.c.
Referenced by test_columns(), test_getitemposition(), test_header_notification(), test_imagelists(), test_redraw(), test_setredraw(), and test_subitem_rect().
Definition at line 5092 of file listview.c.
Referenced by START_TEST().
Definition at line 6126 of file listview.c.
Referenced by START_TEST().
Definition at line 4713 of file listview.c.
Referenced by START_TEST().
Definition at line 992 of file listview.c.
Referenced by START_TEST().
|
static |
Definition at line 2081 of file listview.c.
Referenced by START_TEST().
Definition at line 1476 of file listview.c.
Referenced by START_TEST().
Definition at line 1634 of file listview.c.
Definition at line 5711 of file listview.c.
Referenced by START_TEST().
Definition at line 1979 of file listview.c.
Referenced by START_TEST().
Definition at line 5922 of file listview.c.
Referenced by START_TEST().
Definition at line 5467 of file listview.c.
Referenced by START_TEST().
Definition at line 5733 of file listview.c.
Referenced by START_TEST().
Definition at line 4263 of file listview.c.
Referenced by START_TEST().
Definition at line 5287 of file listview.c.
Referenced by START_TEST().
Definition at line 4661 of file listview.c.
Referenced by START_TEST().
Definition at line 4972 of file listview.c.
Referenced by START_TEST().
Definition at line 3985 of file listview.c.
Referenced by START_TEST().
Definition at line 4027 of file listview.c.
Referenced by START_TEST().
Definition at line 4819 of file listview.c.
Referenced by START_TEST().
Definition at line 2326 of file listview.c.
Referenced by START_TEST().
Definition at line 3934 of file listview.c.
Referenced by START_TEST().
Definition at line 5497 of file listview.c.
Referenced by START_TEST().
Definition at line 5556 of file listview.c.
Referenced by START_TEST().
Definition at line 1617 of file listview.c.
Definition at line 6029 of file listview.c.
Referenced by START_TEST().
Definition at line 3755 of file listview.c.
Referenced by START_TEST().
Definition at line 5432 of file listview.c.
Referenced by START_TEST().
Definition at line 2039 of file listview.c.
Referenced by START_TEST().
Definition at line 5837 of file listview.c.
Referenced by START_TEST().
Definition at line 888 of file listview.c.
Referenced by START_TEST().
Definition at line 4600 of file listview.c.
Referenced by START_TEST().
Definition at line 5977 of file listview.c.
Referenced by START_TEST().
Definition at line 2153 of file listview.c.
Referenced by START_TEST().
Definition at line 2258 of file listview.c.
Referenced by START_TEST().
Definition at line 6575 of file listview.c.
Referenced by START_TEST().
Definition at line 1219 of file listview.c.
Referenced by START_TEST().
Definition at line 6513 of file listview.c.
Referenced by START_TEST().
|
static |
Definition at line 828 of file listview.c.
Definition at line 5800 of file listview.c.
Referenced by START_TEST().
Definition at line 5764 of file listview.c.
Referenced by START_TEST().
|
static |
Definition at line 862 of file listview.c.
Definition at line 6454 of file listview.c.
Referenced by START_TEST().
Definition at line 5372 of file listview.c.
Referenced by START_TEST().
Definition at line 5048 of file listview.c.
Referenced by START_TEST().
Definition at line 6410 of file listview.c.
Referenced by START_TEST().
Definition at line 4765 of file listview.c.
Referenced by START_TEST().
Definition at line 2373 of file listview.c.
Referenced by START_TEST().
Definition at line 3561 of file listview.c.
Referenced by START_TEST().
Definition at line 3634 of file listview.c.
Referenced by START_TEST().
Definition at line 4482 of file listview.c.
Referenced by START_TEST().
Definition at line 6068 of file listview.c.
Referenced by START_TEST().
Definition at line 3143 of file listview.c.
Referenced by START_TEST().
Definition at line 1837 of file listview.c.
Referenced by START_TEST().
Definition at line 5009 of file listview.c.
Referenced by START_TEST().
Definition at line 3675 of file listview.c.
Referenced by START_TEST().
Definition at line 2965 of file listview.c.
Referenced by START_TEST().
Definition at line 6299 of file listview.c.
Referenced by START_TEST().
Definition at line 2769 of file listview.c.
Referenced by START_TEST().
|
static |
Definition at line 58 of file listview.c.
Referenced by create_parent_window(), parent_wnd_proc(), and test_editbox().
Definition at line 252 of file listview.c.
Referenced by test_multiselect().
Definition at line 270 of file listview.c.
Referenced by test_multiselect().
Definition at line 97 of file listview.c.
Referenced by test_create().
Definition at line 313 of file listview.c.
Referenced by test_editbox().
Definition at line 211 of file listview.c.
Referenced by test_callback_mask(), test_canceleditlabel(), test_editbox(), test_header_notification(), test_header_notification2(), test_images(), test_indentation(), test_multiselect(), test_norecompute(), test_ownerdata(), test_redraw(), and test_setredraw().
Definition at line 221 of file listview.c.
Referenced by test_redraw().
|
static |
Definition at line 60 of file listview.c.
Referenced by parent_wnd_proc(), and test_hover().
|
static |
Definition at line 73 of file listview.c.
Referenced by parent_wnd_proc(), and test_dispinfo().
|
static |
Definition at line 75 of file listview.c.
Referenced by parent_wnd_proc(), and test_editbox().
|
static |
Definition at line 77 of file listview.c.
Referenced by parent_wnd_proc(), and test_deleteitem().
|
static |
Definition at line 69 of file listview.c.
Referenced by START_TEST(), and test_ownerdata().
|
static |
Definition at line 71 of file listview.c.
Referenced by parent_wnd_proc(), test_callback_mask(), and test_columns().
|
static |
Definition at line 62 of file listview.c.
Referenced by parent_wnd_proc(), test_item_state_change(), and test_ownerdata().
|
static |
Definition at line 64 of file listview.c.
Referenced by parent_wnd_proc(), and test_multiselect().
|
static |
Definition at line 79 of file listview.c.
Referenced by parent_wnd_proc(), and test_LVN_ENDLABELEDIT().
Definition at line 290 of file listview.c.
Referenced by test_getitemposition().
Definition at line 295 of file listview.c.
Referenced by test_getitemposition().
Definition at line 301 of file listview.c.
Referenced by test_subitem_rect().
HBITMAP |
Definition at line 33 of file listview.c.
Definition at line 353 of file listview.c.
Referenced by test_hover().
|
static |
Definition at line 56 of file listview.c.
Referenced by create_listview_control(), DEFDLG_Proc(), PropertySheetDialog::DoModal(), START_TEST(), test_checkboxes(), test_columns(), test_create(), test_customdraw(), test_hover(), test_icon_spacing(), test_images(), test_items(), test_LVS_EX_TRANSPARENTBKGND(), test_notifyformat(), test_oneclickactivate(), test_redraw(), and test_setredraw().
|
static |
Definition at line 56 of file listview.c.
Referenced by test_notifyformat().
int |
Definition at line 31 of file listview.c.
Definition at line 123 of file listview.c.
Referenced by test_color().
Definition at line 359 of file listview.c.
Referenced by test_destroynotify().
Definition at line 450 of file listview.c.
Referenced by test_LVN_ENDLABELEDIT().
Definition at line 459 of file listview.c.
Referenced by test_LVN_ENDLABELEDIT().
Definition at line 388 of file listview.c.
Referenced by test_header_notification().
Definition at line 415 of file listview.c.
Referenced by test_imagelists().
Definition at line 116 of file listview.c.
Referenced by test_icon_spacing().
Definition at line 154 of file listview.c.
Referenced by test_item_count().
Definition at line 174 of file listview.c.
Referenced by test_item_position().
Definition at line 382 of file listview.c.
Referenced by test_destroynotify().
Definition at line 371 of file listview.c.
Referenced by test_destroynotify().
Definition at line 189 of file listview.c.
Referenced by test_ownerdata().
Definition at line 410 of file listview.c.
Referenced by test_imagelists().
|
static |
Definition at line 1596 of file listview.c.
Referenced by create_item_height_wndproc(), create_test_wndproc(), test_create(), and test_LVM_GETCOUNTPERPAGE().
Definition at line 341 of file listview.c.
Referenced by test_LVS_EX_TRANSPARENTBKGND().
|
static |
Definition at line 67 of file listview.c.
Referenced by create_parent_window(), parent_wnd_proc(), and test_notifyformat().
Definition at line 238 of file listview.c.
Referenced by test_ownerdata().
Definition at line 246 of file listview.c.
Referenced by test_ownerdata().
Definition at line 226 of file listview.c.
Referenced by test_ownerdata().
Definition at line 233 of file listview.c.
Referenced by test_ownerdata().
Definition at line 215 of file listview.c.
Referenced by test_callback_mask().
Definition at line 395 of file listview.c.
Referenced by test_header_notification2().
Definition at line 401 of file listview.c.
Referenced by test_header_notification2().
Definition at line 421 of file listview.c.
Referenced by test_insertitem().
Definition at line 442 of file listview.c.
Referenced by test_customdraw().
Definition at line 430 of file listview.c.
Referenced by test_customdraw().
Definition at line 330 of file listview.c.
Referenced by test_scrollnotify().
|
static |
Definition at line 95 of file listview.c.
Referenced by cd_wndproc(), editbox_subclass_proc(), header_subclass_proc(), listview_subclass_proc(), parent_wnd_proc(), START_TEST(), test_callback_mask(), test_canceleditlabel(), test_color(), test_columns(), test_create(), test_customdraw(), test_destroynotify(), test_editbox(), test_getitemposition(), test_getorigin(), test_header_notification(), test_header_notification2(), test_hover(), test_icon_spacing(), test_imagelists(), test_images(), test_indentation(), test_insertitem(), test_item_count(), test_item_position(), test_items(), test_LVN_ENDLABELEDIT(), test_LVS_EX_TRANSPARENTBKGND(), test_multiselect(), test_norecompute(), test_ownerdata(), test_redraw(), test_scrollnotify(), test_setredraw(), and test_subitem_rect().
Definition at line 336 of file listview.c.
Referenced by test_setredraw().
Definition at line 285 of file listview.c.
Referenced by test_callback_mask(), test_columns(), test_images(), test_indentation(), and test_ownerdata().
|
static |
Definition at line 1597 of file listview.c.
Referenced by create_test_wndproc(), and test_create().
Definition at line 53 of file listview.c.
Referenced by create_parent_window(), and register_parent_wnd_class().
Definition at line 31 of file listview.c.