]>
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
6 // Copyright: (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org>,
7 // (c) 2010 Steven Lamerton
8 ///////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_TESTS_CONTROLS_LISTBASETEST_H_
11 #define _WX_TESTS_CONTROLS_LISTBASETEST_H_
13 class ListBaseTestCase
16 ListBaseTestCase() { }
17 virtual ~ListBaseTestCase() { }
20 virtual wxListCtrl
*GetList() const = 0;
22 #define wxLIST_BASE_TESTS() \
23 CPPUNIT_TEST( ColumnsOrder ); \
24 CPPUNIT_TEST( ItemRect ); \
25 CPPUNIT_TEST( ItemText ); \
26 CPPUNIT_TEST( ChangeMode ); \
27 WXUISIM_TEST( ItemClick ); \
28 WXUISIM_TEST( KeyDown ); \
29 CPPUNIT_TEST( DeleteItems ); \
30 CPPUNIT_TEST( InsertItem ); \
31 CPPUNIT_TEST( Find ); \
32 CPPUNIT_TEST( Visible ); \
33 CPPUNIT_TEST( ItemFormatting ); \
34 WXUISIM_TEST( EditLabel ); \
35 CPPUNIT_TEST( ImageList ); \
48 void ItemFormatting();
53 wxDECLARE_NO_COPY_CLASS(ListBaseTestCase
);