From 548d7a0518e09b234963ab6f37eb7ee8d491c501 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 7 Nov 2017 16:10:19 +0100 Subject: [PATCH] Disable keyboard event unit tests for wxGTK They suffer from the same problem as all the other tests using wxUIActionSimulator: it is flaky with GTK+ 2 and doesn't work at all with GTK+ 3. --- tests/events/keyboard.cpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/tests/events/keyboard.cpp b/tests/events/keyboard.cpp index cb54248c35..29f849aab3 100644 --- a/tests/events/keyboard.cpp +++ b/tests/events/keyboard.cpp @@ -16,9 +16,7 @@ #pragma hdrstop #endif -// FIXME: As all the other tests involving wxUIActionSimulator, this one is -// broken under OS X, the test window siply never gets any events. -#if wxUSE_UIACTIONSIMULATOR && !defined(__WXOSX__) +#if wxUSE_UIACTIONSIMULATOR #ifndef WX_PRECOMP #include "wx/app.h" @@ -204,12 +202,12 @@ public: private: CPPUNIT_TEST_SUITE( KeyboardEventTestCase ); - CPPUNIT_TEST( NormalLetter ); - CPPUNIT_TEST( NormalSpecial ); - CPPUNIT_TEST( CtrlLetter ); - CPPUNIT_TEST( CtrlSpecial ); - CPPUNIT_TEST( ShiftLetter ); - CPPUNIT_TEST( ShiftSpecial ); + WXUISIM_TEST( NormalLetter ); + WXUISIM_TEST( NormalSpecial ); + WXUISIM_TEST( CtrlLetter ); + WXUISIM_TEST( CtrlSpecial ); + WXUISIM_TEST( ShiftLetter ); + WXUISIM_TEST( ShiftSpecial ); CPPUNIT_TEST_SUITE_END(); void NormalLetter();