1 #ifndef GONG_TEST_IO_EVENTTEST_HPP
2 #define GONG_TEST_IO_EVENTTEST_HPP
4 #include <cppunit/extensions/HelperMacros.h>
6 #include <SDL_version.h>
13 : public CppUnit::TestFixture {
15 CPPUNIT_TEST_SUITE(EventTest);
17 #if SDL_VERSION_ATLEAST(2, 0, 4)
18 CPPUNIT_TEST(testAudioDevice);
21 CPPUNIT_TEST(testController);
22 CPPUNIT_TEST(testDollar);
23 CPPUNIT_TEST(testDrop);
24 CPPUNIT_TEST(testFinger);
25 CPPUNIT_TEST(testKey);
26 CPPUNIT_TEST(testJoystick);
27 CPPUNIT_TEST(testMouse);
28 CPPUNIT_TEST(testMultiGesture);
29 CPPUNIT_TEST(testQuit);
30 CPPUNIT_TEST(testSysWM);
31 CPPUNIT_TEST(testText);
32 CPPUNIT_TEST(testUser);
33 CPPUNIT_TEST(testWindow);
34 CPPUNIT_TEST(testUnknown);
36 CPPUNIT_TEST_SUITE_END();
42 #if SDL_VERSION_ATLEAST(2, 0, 4)
43 void testAudioDevice();
46 void testController();
53 void testMultiGesture();