]>
Commit | Line | Data |
---|---|---|
4e0938ef | 1 | /* |
f6e9a3ee | 2 | * Copyright (C) 1996-2019 The Squid Software Foundation and contributors |
4e0938ef AJ |
3 | * |
4 | * Squid software is distributed under GPLv2+ license and includes | |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
7 | */ | |
a553a5a3 | 8 | |
9 | #ifndef SQUID_SRC_TEST_EVENT_H | |
10 | #define SQUID_SRC_TEST_EVENT_H | |
11 | ||
12 | #include <cppunit/extensions/HelperMacros.h> | |
13 | ||
14 | /* | |
15 | * test the event module. | |
16 | */ | |
17 | ||
18 | class testEvent : public CPPUNIT_NS::TestFixture | |
19 | { | |
20 | CPPUNIT_TEST_SUITE( testEvent ); | |
21 | CPPUNIT_TEST( testCreate ); | |
a553a5a3 | 22 | CPPUNIT_TEST( testDump ); |
23 | CPPUNIT_TEST( testFind ); | |
24 | CPPUNIT_TEST( testCheckEvents ); | |
25 | CPPUNIT_TEST( testSingleton ); | |
26 | CPPUNIT_TEST( testCancel ); | |
27 | CPPUNIT_TEST_SUITE_END(); | |
28 | ||
29 | public: | |
16555581 | 30 | void setUp(); |
a553a5a3 | 31 | |
32 | protected: | |
33 | void testCreate(); | |
a553a5a3 | 34 | void testDump(); |
35 | void testFind(); | |
36 | void testCheckEvents(); | |
37 | void testSingleton(); | |
38 | void testCancel(); | |
39 | }; | |
40 | ||
41 | #endif | |
42 |