SBufFindTest.cc
Go to the documentation of this file.
51 for (SBuf::size_type needleLen = 0U; needleLen <= maxNeedleLen; nextLen(needleLen, maxNeedleLen)) {
bool hushSimilar
whether to report only one failed test case per "category"
Definition: SBufFindTest.h:30
void testRFindCharDefs()
void testAllMethods()
void testFindCharDefs()
static SBuf RandomSBuf(const int length)
void testFindChar()
void nextLen(SBuf::size_type &len, const SBuf::size_type max)
std::string::size_type theBareNeedlePos
needle pos w/o thePos restrictions; used for case categorization
Definition: SBufFindTest.h:72
std::string placementKey() const
void testFindDefs()
std::string posKey() const
void testRFindDefs()
Definition: cf_gen.cc:108
void checkResults(const char *method)
void placeNeedle(const SBuf &cleanHay)
void testFindFirstOf()
bool resultsMatch() const
void handleFailure(const char *method)
void testRFindChar()
optimized set of C chars, with quick membership test and merge support
Definition: CharacterSet.h:17
void testRFind()
SBufFindTest()
SBuf::size_type maxHayLength
approximate maximum generated hay string length
Definition: SBufFindTest.h:32
size_type findFirstOf(const CharacterSet &set, size_type startPos=0) const
Definition: SBuf.cc:723
void testFind()
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