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.
This commit is contained in:
Vadim Zeitlin
2017-11-07 16:10:19 +01:00
parent f0a32f0e1f
commit 548d7a0518

View File

@@ -16,9 +16,7 @@
#pragma hdrstop #pragma hdrstop
#endif #endif
// FIXME: As all the other tests involving wxUIActionSimulator, this one is #if wxUSE_UIACTIONSIMULATOR
// broken under OS X, the test window siply never gets any events.
#if wxUSE_UIACTIONSIMULATOR && !defined(__WXOSX__)
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
@@ -204,12 +202,12 @@ public:
private: private:
CPPUNIT_TEST_SUITE( KeyboardEventTestCase ); CPPUNIT_TEST_SUITE( KeyboardEventTestCase );
CPPUNIT_TEST( NormalLetter ); WXUISIM_TEST( NormalLetter );
CPPUNIT_TEST( NormalSpecial ); WXUISIM_TEST( NormalSpecial );
CPPUNIT_TEST( CtrlLetter ); WXUISIM_TEST( CtrlLetter );
CPPUNIT_TEST( CtrlSpecial ); WXUISIM_TEST( CtrlSpecial );
CPPUNIT_TEST( ShiftLetter ); WXUISIM_TEST( ShiftLetter );
CPPUNIT_TEST( ShiftSpecial ); WXUISIM_TEST( ShiftSpecial );
CPPUNIT_TEST_SUITE_END(); CPPUNIT_TEST_SUITE_END();
void NormalLetter(); void NormalLetter();