testCacheManager.cc
Go to the documentation of this file.
std::ostream & CurrentException(std::ostream &os)
prints active (i.e., thrown but not yet handled) exception
Definition: TextException.cc:88
void setScheme(const AnyP::ProtocolType &p, const char *str)
convert the URL scheme to that given
Definition: Uri.h:70
Provides test code access to CacheManager internal symbols.
Definition: testCacheManager.cc:40
void testValidUrl(const AnyP::Uri &)
checks CacheManager parsing of the given valid URL
Definition: testCacheManager.cc:51
void testInvalidUrl(const AnyP::Uri &, const char *problem)
Definition: testCacheManager.cc:63
Definition: CacheManager.h:33
static const SBuf & WellKnownUrlPathPrefix()
initial URL path characters that identify cache manager requests
Definition: cache_manager.cc:156
Mgr::Action::Pointer createNamedAction(const char *actionName)
Definition: cache_manager.cc:133
void registerProfile(char const *action, char const *desc, OBJH *handler, int pw_req_flag, int atomic)
Definition: cache_manager.cc:84
Mgr::CommandPointer ParseUrl(const AnyP::Uri &)
Definition: cache_manager.cc:175
void startup() override
Definition: Store.h:42
Definition: SquidString.h:26
Definition: testCacheManager.cc:23
CPPUNIT_TEST_SUITE_END()
CPPUNIT_TEST(testParseUrl)
CPPUNIT_TEST(testRegister)
CPPUNIT_TEST_SUITE(TestCacheManager)
CPPUNIT_TEST(testCreate)
implements test program's main() function while enabling customization
Definition: unitTestMain.h:26
static bool action(int fd, size_t metasize, const char *fn, const char *url, const SquidMetaList &meta)
Definition: purge.cc:315
CPPUNIT_TEST_SUITE_REGISTRATION(TestCacheManager)