Add wxOVERRIDE to test files
And cleanup some tailing spaces and tabs.
This commit is contained in:
@@ -55,14 +55,14 @@ void EventCloneTestCase::CheckAll()
|
||||
for (; ci; ci = ci->GetNext())
|
||||
{
|
||||
wxString cn = wxString(ci->GetClassName());
|
||||
|
||||
|
||||
// is this class derived from wxEvent?
|
||||
if ( !ci->IsKindOf(CLASSINFO(wxEvent)) ||
|
||||
cn == "wxEvent" )
|
||||
continue;
|
||||
|
||||
const std::string
|
||||
msg = std::string("Event class \"") +
|
||||
msg = std::string("Event class \"") +
|
||||
std::string(cn.c_str()) + "\"";
|
||||
|
||||
CPPUNIT_ASSERT_MESSAGE( msg, ci->IsDynamic() );
|
||||
|
@@ -197,8 +197,8 @@ class KeyboardEventTestCase : public CppUnit::TestCase
|
||||
public:
|
||||
KeyboardEventTestCase() {}
|
||||
|
||||
virtual void setUp();
|
||||
virtual void tearDown();
|
||||
virtual void setUp() wxOVERRIDE;
|
||||
virtual void tearDown() wxOVERRIDE;
|
||||
|
||||
private:
|
||||
CPPUNIT_TEST_SUITE( KeyboardEventTestCase );
|
||||
|
@@ -234,8 +234,8 @@ class EventPropagationTestCase : public CppUnit::TestCase
|
||||
public:
|
||||
EventPropagationTestCase() {}
|
||||
|
||||
virtual void setUp();
|
||||
virtual void tearDown();
|
||||
virtual void setUp() wxOVERRIDE;
|
||||
virtual void tearDown() wxOVERRIDE;
|
||||
|
||||
private:
|
||||
CPPUNIT_TEST_SUITE( EventPropagationTestCase );
|
||||
|
Reference in New Issue
Block a user