Add wxOVERRIDE to test files
And cleanup some tailing spaces and tabs.
This commit is contained in:
@@ -28,7 +28,7 @@ class NumFormatterTestCase : public CppUnit::TestCase
|
||||
public:
|
||||
NumFormatterTestCase() { m_locale = NULL; }
|
||||
|
||||
virtual void setUp()
|
||||
virtual void setUp() wxOVERRIDE
|
||||
{
|
||||
// We need to use a locale with known decimal point and which uses the
|
||||
// thousands separator for the tests to make sense.
|
||||
@@ -38,7 +38,7 @@ public:
|
||||
tearDown();
|
||||
}
|
||||
|
||||
virtual void tearDown()
|
||||
virtual void tearDown() wxOVERRIDE
|
||||
{
|
||||
delete m_locale;
|
||||
m_locale = NULL;
|
||||
|
@@ -1156,4 +1156,4 @@ void UniCharTestCase::RefWideCharCompare()
|
||||
wxUNICHARREF_TEST_INT_COMPARE
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@@ -166,7 +166,7 @@ private:
|
||||
#endif
|
||||
void Unicode();
|
||||
|
||||
template<typename T>
|
||||
template<typename T>
|
||||
void DoBigToSmallBuffer(T *buffer, int size);
|
||||
void BigToSmallBuffer();
|
||||
|
||||
@@ -251,12 +251,12 @@ void VsnprintfTestCase::P()
|
||||
CMP3i("0000ABCDEFABCDEF", "%p", (void*)0xABCDEFABCDEF);
|
||||
CMP3("0000000000000000", "%p", (void*)NULL);
|
||||
#endif
|
||||
#elif defined(__MINGW32__)
|
||||
#elif defined(__MINGW32__)
|
||||
// mingw32 uses MSVC CRT in old versions but is own implementation now
|
||||
// which is somewhere in the middle as it uses %8x, so to catch both cases
|
||||
// we use case-insensitive comparison here.
|
||||
CMP3("0xabcdef", "%p", (void*)0xABCDEF);
|
||||
CMP3("0", "%p", (void*)NULL);
|
||||
CMP3("0xabcdef", "%p", (void*)0xABCDEF);
|
||||
CMP3("0", "%p", (void*)NULL);
|
||||
#elif defined(__GNUG__)
|
||||
// glibc prints pointers as %#x except for NULL pointers which are printed
|
||||
// as '(nil)'.
|
||||
|
Reference in New Issue
Block a user