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:
@@ -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() \
|
||||
|
Reference in New Issue
Block a user