testCacheManager.cc
Go to the documentation of this file.
103 Mgr::RegisterAction("sample", "my sample", &dummy_action, Mgr::Protected::no, Mgr::Atomic::no, Mgr::Format::informal);
Mgr::Action::Pointer createNamedAction(const char *actionName)
Definition: cache_manager.cc:84
CPPUNIT_TEST_SUITE(TestCacheManager)
implements test program's main() function while enabling customization
Definition: unitTestMain.h:25
Provides test code access to CacheManager internal symbols.
Definition: testCacheManager.cc:40
@ no
void testInvalidUrl(const AnyP::Uri &, const char *problem)
Definition: testCacheManager.cc:58
static const SBuf & WellKnownUrlPathPrefix()
initial URL path characters that identify cache manager requests
Definition: cache_manager.cc:107
Definition: SquidString.h:25
@ informal
CPPUNIT_TEST_SUITE_REGISTRATION(TestCacheManager)
Definition: testCacheManager.cc:23
CPPUNIT_TEST_SUITE_END()
Mgr::CommandPointer ParseUrl(const AnyP::Uri &)
Definition: cache_manager.cc:126
Definition: Store.h:37
void RegisterAction(char const *action, char const *desc, OBJH *handler, Protected, Atomic, Format)
Definition: Registration.cc:54
Definition: CacheManager.h:32
void setScheme(const AnyP::ProtocolType &p, const char *str)
convert the URL scheme to that given
Definition: Uri.h:61
void testValidUrl(const AnyP::Uri &)
checks CacheManager parsing of the given valid URL
Definition: testCacheManager.cc:52
CPPUNIT_TEST(testCreate)
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
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products