]> git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/testEvent.h
Bug #2240 fix: AsyncCall-related unit tests fail
[thirdparty/squid.git] / src / tests / testEvent.h
1
2 #ifndef SQUID_SRC_TEST_EVENT_H
3 #define SQUID_SRC_TEST_EVENT_H
4
5 #include <cppunit/extensions/HelperMacros.h>
6
7 /*
8 * test the event module.
9 */
10
11 class testEvent : public CPPUNIT_NS::TestFixture
12 {
13 CPPUNIT_TEST_SUITE( testEvent );
14 CPPUNIT_TEST( testCreate );
15 CPPUNIT_TEST( testDump );
16 CPPUNIT_TEST( testFind );
17 CPPUNIT_TEST( testCheckEvents );
18 CPPUNIT_TEST( testSingleton );
19 CPPUNIT_TEST( testCancel );
20 CPPUNIT_TEST_SUITE_END();
21
22 public:
23 void setUp();
24
25 protected:
26 void testCreate();
27 void testDump();
28 void testFind();
29 void testCheckEvents();
30 void testSingleton();
31 void testCancel();
32 };
33
34 #endif
35