squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
tests
testACLMaxUserIP.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2022 The Squid Software Foundation and contributors
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
*/
8
9
#ifndef SQUID_SRC_TEST_ACLMAXUSERIP_H
10
#define SQUID_SRC_TEST_ACLMAXUSERIP_H
11
12
#if USE_AUTH
13
14
#include "
compat/cppunit.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
:
30
virtual
void
setUp
()
override
;
31
32
protected
:
33
void
testDefaults
();
34
void
testParseLine
();
35
};
36
37
#endif
/* USE_AUTH */
38
#endif
/* SQUID_SRC_TEST_ACLMAXUSERIP_H */
39
testACLMaxUserIP::CPPUNIT_TEST
CPPUNIT_TEST(testDefaults)
testACLMaxUserIP::testDefaults
void testDefaults()
Definition:
testACLMaxUserIP.cc:28
testACLMaxUserIP::CPPUNIT_TEST_SUITE
CPPUNIT_TEST_SUITE(testACLMaxUserIP)
testACLMaxUserIP
Definition:
testACLMaxUserIP.h:22
testACLMaxUserIP::CPPUNIT_TEST_SUITE_END
CPPUNIT_TEST_SUITE_END()
testACLMaxUserIP::CPPUNIT_TEST
CPPUNIT_TEST(testParseLine)
cppunit.h
testACLMaxUserIP::testParseLine
void testParseLine()
Definition:
testACLMaxUserIP.cc:47
testACLMaxUserIP::setUp
virtual void setUp() override
Definition:
testACLMaxUserIP.cc:40
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
gr
il
jp
pl
...
full list
FTP Package Archive