Fix or disable currently failing wxGTK GUI tests

Try to ensure that the GUI test suite passes so that buildbot has a
chance to warn us if/when anything breaks.
This commit is contained in:
VZ
2017-11-07 20:56:09 +01:00
committed by GitHub
15 changed files with 168 additions and 68 deletions

View File

@@ -202,22 +202,24 @@ inline std::string wxGetCurrentTestName()
public: \
void runTest() wxOVERRIDE \
{ \
struct EatNextSemicolon
using namespace wxPrivate; \
TempStringAssign setClass(wxTheCurrentTestClass, #testclass)
#define CPPUNIT_TEST(testname) \
SECTION(#testname " test") \
{ \
setUp(); \
try \
{ \
testname(); \
} \
catch ( ... ) \
{ \
tearDown(); \
throw; \
} \
tearDown(); \
#define CPPUNIT_TEST(testname) \
SECTION(#testname) \
{ \
TempStringAssign setMethod(wxTheCurrentTestMethod, #testname); \
setUp(); \
try \
{ \
testname(); \
} \
catch ( ... ) \
{ \
tearDown(); \
throw; \
} \
tearDown(); \
}
#define CPPUNIT_TEST_SUITE_END() \