3f66f6a5b3
This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
57 lines
1.5 KiB
C++
57 lines
1.5 KiB
C++
///////////////////////////////////////////////////////////////////////////////
|
|
// Name: tests/controls/listbasetest.cpp
|
|
// Purpose: Base class for wxListCtrl and wxListView tests
|
|
// Author: Steven Lamerton
|
|
// Created: 2010-07-20
|
|
// Copyright: (c) 2008 Vadim Zeitlin <vadim@wxwidgets.org>,
|
|
// (c) 2010 Steven Lamerton
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_TESTS_CONTROLS_LISTBASETEST_H_
|
|
#define _WX_TESTS_CONTROLS_LISTBASETEST_H_
|
|
|
|
class ListBaseTestCase
|
|
{
|
|
public:
|
|
ListBaseTestCase() { }
|
|
virtual ~ListBaseTestCase() { }
|
|
|
|
protected:
|
|
virtual wxListCtrl *GetList() const = 0;
|
|
|
|
#define wxLIST_BASE_TESTS() \
|
|
CPPUNIT_TEST( ColumnsOrder ); \
|
|
CPPUNIT_TEST( ItemRect ); \
|
|
CPPUNIT_TEST( ItemText ); \
|
|
CPPUNIT_TEST( ChangeMode ); \
|
|
WXUISIM_TEST( ItemClick ); \
|
|
WXUISIM_TEST( KeyDown ); \
|
|
CPPUNIT_TEST( DeleteItems ); \
|
|
CPPUNIT_TEST( InsertItem ); \
|
|
CPPUNIT_TEST( Find ); \
|
|
CPPUNIT_TEST( Visible ); \
|
|
CPPUNIT_TEST( ItemFormatting ); \
|
|
WXUISIM_TEST( EditLabel ); \
|
|
CPPUNIT_TEST( ImageList ); \
|
|
CPPUNIT_TEST( Sort )
|
|
|
|
void ColumnsOrder();
|
|
void ItemRect();
|
|
void ItemText();
|
|
void ChangeMode();
|
|
void ItemClick();
|
|
void KeyDown();
|
|
void DeleteItems();
|
|
void InsertItem();
|
|
void Find();
|
|
void Visible();
|
|
void ItemFormatting();
|
|
void EditLabel();
|
|
void ImageList();
|
|
void Sort();
|
|
|
|
wxDECLARE_NO_COPY_CLASS(ListBaseTestCase);
|
|
};
|
|
|
|
#endif
|