1 #ifndef BLANK_TEST_IO_EVENTTEST_HPP
2 #define BLANK_TEST_IO_EVENTTEST_HPP
4 #include <cppunit/extensions/HelperMacros.h>
6 #include <SDL_version.h>
12 : public CppUnit::TestFixture {
14 CPPUNIT_TEST_SUITE(EventTest);
16 #if SDL_VERSION_ATLEAST(2, 0, 4)
17 CPPUNIT_TEST(testAudioDevice);
20 CPPUNIT_TEST(testController);
21 CPPUNIT_TEST(testDollar);
22 CPPUNIT_TEST(testDrop);
23 CPPUNIT_TEST(testFinger);
24 CPPUNIT_TEST(testKey);
25 CPPUNIT_TEST(testJoystick);
26 CPPUNIT_TEST(testMouse);
27 CPPUNIT_TEST(testMultiGesture);
28 CPPUNIT_TEST(testQuit);
29 CPPUNIT_TEST(testSysWM);
30 CPPUNIT_TEST(testText);
31 CPPUNIT_TEST(testUser);
32 CPPUNIT_TEST(testWindow);
33 CPPUNIT_TEST(testUnknown);
35 CPPUNIT_TEST_SUITE_END();
41 #if SDL_VERSION_ATLEAST(2, 0, 4)
42 void testAudioDevice();
45 void testController();
52 void testMultiGesture();