Add wxOVERRIDE to test files
And cleanup some tailing spaces and tabs.
This commit is contained in:
@@ -32,8 +32,8 @@ class DirTestCase : public CppUnit::TestCase
|
||||
public:
|
||||
DirTestCase() { }
|
||||
|
||||
virtual void setUp();
|
||||
virtual void tearDown();
|
||||
virtual void setUp() wxOVERRIDE;
|
||||
virtual void tearDown() wxOVERRIDE;
|
||||
|
||||
private:
|
||||
CPPUNIT_TEST_SUITE( DirTestCase );
|
||||
@@ -181,7 +181,7 @@ void DirTestCase::DirExists()
|
||||
{
|
||||
const char *dirname;
|
||||
bool shouldExist;
|
||||
} testData[] =
|
||||
} testData[] =
|
||||
{
|
||||
{ ".", true },
|
||||
{ "..", true },
|
||||
|
@@ -33,8 +33,8 @@ class FileFunctionsTestCase : public CppUnit::TestCase
|
||||
{
|
||||
public:
|
||||
FileFunctionsTestCase() { }
|
||||
void setUp();
|
||||
void tearDown();
|
||||
void setUp() wxOVERRIDE;
|
||||
void tearDown() wxOVERRIDE;
|
||||
|
||||
private:
|
||||
CPPUNIT_TEST_SUITE( FileFunctionsTestCase );
|
||||
@@ -453,7 +453,7 @@ void FileFunctionsTestCase::FileEof()
|
||||
bool failed = true;
|
||||
try
|
||||
{
|
||||
file.Eof();
|
||||
file.Eof();
|
||||
failed = false;
|
||||
}
|
||||
catch (...)
|
||||
|
Reference in New Issue
Block a user