]>
Commit | Line | Data |
---|---|---|
4e0938ef | 1 | /* |
5b74111a | 2 | * Copyright (C) 1996-2018 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 | */ | |
d295d770 | 8 | |
9 | #ifndef SQUID_SRC_TEST_ACLMAXUSERIP_H | |
10 | #define SQUID_SRC_TEST_ACLMAXUSERIP_H | |
11 | ||
2f1431ea AJ |
12 | #if USE_AUTH |
13 | ||
d295d770 | 14 | #include <cppunit/extensions/HelperMacros.h> |
15 | ||
16 | /* | |
17 | * demonstration test file, as new idioms are made they will | |
18 | * be shown in the testBoilerplate source. | |
19 | */ | |
20 | ||
21 | class testACLMaxUserIP : public CPPUNIT_NS::TestFixture | |
22 | { | |
23 | CPPUNIT_TEST_SUITE( testACLMaxUserIP ); | |
24 | /* note the statement here and then the actual prototype below */ | |
25 | CPPUNIT_TEST( testDefaults ); | |
26 | CPPUNIT_TEST( testParseLine ); | |
27 | CPPUNIT_TEST_SUITE_END(); | |
28 | ||
29 | public: | |
4eac3407 | 30 | virtual void setUp() override; |
d295d770 | 31 | |
32 | protected: | |
33 | void testDefaults(); | |
34 | void testParseLine(); | |
35 | }; | |
36 | ||
2f1431ea | 37 | #endif /* USE_AUTH */ |
d295d770 | 38 | #endif /* SQUID_SRC_TEST_ACLMAXUSERIP_H */ |
f53969cc | 39 |