]> git.saurik.com Git - wxWidgets.git/blame - tests/controls/listbasetest.h
Don't generate any events from wxSpinCtrl and wxSpinCtrlDouble methods.
[wxWidgets.git] / tests / controls / listbasetest.h
CommitLineData
232fdc63
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: tests/controls/listbasetest.cpp
3// Purpose: Base class for wxListCtrl and wxListView tests
4// Author: Steven Lamerton
5// Created: 2010-07-20
232fdc63
VZ
6// Copyright: (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org>,
7// (c) 2010 Steven Lamerton
8///////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_TESTS_CONTROLS_LISTBASETEST_H_
11#define _WX_TESTS_CONTROLS_LISTBASETEST_H_
12
13class ListBaseTestCase
14{
15public:
16 ListBaseTestCase() { }
17 virtual ~ListBaseTestCase() { }
18
19protected:
20 virtual wxListCtrl *GetList() const = 0;
21
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 ); \
36 CPPUNIT_TEST( Sort )
37
38 void ColumnsOrder();
39 void ItemRect();
40 void ItemText();
41 void ChangeMode();
42 void ItemClick();
43 void KeyDown();
44 void DeleteItems();
45 void InsertItem();
46 void Find();
47 void Visible();
48 void ItemFormatting();
49 void EditLabel();
50 void ImageList();
51 void Sort();
52
53 wxDECLARE_NO_COPY_CLASS(ListBaseTestCase);
54};
55
56#endif