]>
git.saurik.com Git - wxWidgets.git/blob - tests/controls/listbasetest.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: tests/controls/listbasetest.cpp
3 // Purpose: Base class for wxListCtrl and wxListView tests
4 // Author: Steven Lamerton
7 // Copyright: (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org>,
8 // (c) 2010 Steven Lamerton
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_TESTS_CONTROLS_LISTBASETEST_H_
12 #define _WX_TESTS_CONTROLS_LISTBASETEST_H_
14 class ListBaseTestCase
17 ListBaseTestCase() { }
18 virtual ~ListBaseTestCase() { }
21 virtual wxListCtrl
*GetList() const = 0;
23 #define wxLIST_BASE_TESTS() \
24 CPPUNIT_TEST( ColumnsOrder ); \
25 CPPUNIT_TEST( ItemRect ); \
26 CPPUNIT_TEST( ItemText ); \
27 CPPUNIT_TEST( ChangeMode ); \
28 WXUISIM_TEST( ItemClick ); \
29 WXUISIM_TEST( KeyDown ); \
30 CPPUNIT_TEST( DeleteItems ); \
31 CPPUNIT_TEST( InsertItem ); \
32 CPPUNIT_TEST( Find ); \
33 CPPUNIT_TEST( Visible ); \
34 CPPUNIT_TEST( ItemFormatting ); \
35 WXUISIM_TEST( EditLabel ); \
36 CPPUNIT_TEST( ImageList ); \
49 void ItemFormatting();
54 wxDECLARE_NO_COPY_CLASS(ListBaseTestCase
);