![Inheritance graph](classTestSBuf__inherit__graph.png)
![Collaboration graph](classTestSBuf__coll__graph.png)
Protected Member Functions | |
void | commonInit () |
void | testSBufConstructDestruct () |
void | testSBufConstructDestructAfterMemInit () |
void | testEqualityTest () |
void | testAppendSBuf () |
void | testAppendCString () |
void | testAppendStdString () |
void | testAppendf () |
void | testPrintf () |
void | testSubscriptOp () |
void | testSubscriptOpFail () |
void | testDumpStats () |
void | testComparisons () |
void | testConsume () |
void | testRawContent () |
void | testRawSpace () |
void | testChop () |
void | testChomp () |
void | testSubstr () |
void | testTailCopy () |
void | testSBufLength () |
void | testFindChar () |
void | testFindSBuf () |
void | testRFindChar () |
void | testRFindSBuf () |
void | testSearchFail () |
void | testCopy () |
void | testStringOps () |
void | testGrow () |
void | testReserve () |
void | testStartsWith () |
void | testSBufStream () |
void | testFindFirstOf () |
void | testFindFirstNotOf () |
void | testAutoFind () |
void | testStdStringOps () |
void | testIterators () |
void | testSBufHash () |
void | testStdAlgorithm () |
Detailed Description
Definition at line 31 of file testSBuf.cc.
Member Function Documentation
◆ commonInit()
|
protected |
◆ CPPUNIT_TEST() [1/34]
|
private |
◆ CPPUNIT_TEST() [2/34]
|
private |
◆ CPPUNIT_TEST() [3/34]
|
private |
◆ CPPUNIT_TEST() [4/34]
|
private |
◆ CPPUNIT_TEST() [5/34]
|
private |
◆ CPPUNIT_TEST() [6/34]
|
private |
◆ CPPUNIT_TEST() [7/34]
|
private |
◆ CPPUNIT_TEST() [8/34]
|
private |
◆ CPPUNIT_TEST() [9/34]
|
private |
◆ CPPUNIT_TEST() [10/34]
|
private |
◆ CPPUNIT_TEST() [11/34]
|
private |
◆ CPPUNIT_TEST() [12/34]
|
private |
◆ CPPUNIT_TEST() [13/34]
|
private |
◆ CPPUNIT_TEST() [14/34]
|
private |
◆ CPPUNIT_TEST() [15/34]
|
private |
◆ CPPUNIT_TEST() [16/34]
|
private |
◆ CPPUNIT_TEST() [17/34]
|
private |
◆ CPPUNIT_TEST() [18/34]
|
private |
◆ CPPUNIT_TEST() [19/34]
|
private |
◆ CPPUNIT_TEST() [20/34]
|
private |
◆ CPPUNIT_TEST() [21/34]
|
private |
◆ CPPUNIT_TEST() [22/34]
|
private |
◆ CPPUNIT_TEST() [23/34]
|
private |
◆ CPPUNIT_TEST() [24/34]
|
private |
◆ CPPUNIT_TEST() [25/34]
|
private |
◆ CPPUNIT_TEST() [26/34]
|
private |
◆ CPPUNIT_TEST() [27/34]
|
private |
◆ CPPUNIT_TEST() [28/34]
|
private |
◆ CPPUNIT_TEST() [29/34]
|
private |
◆ CPPUNIT_TEST() [30/34]
|
private |
◆ CPPUNIT_TEST() [31/34]
|
private |
◆ CPPUNIT_TEST() [32/34]
|
private |
◆ CPPUNIT_TEST() [33/34]
|
private |
◆ CPPUNIT_TEST() [34/34]
|
private |
◆ CPPUNIT_TEST_EXCEPTION()
|
private |
◆ CPPUNIT_TEST_SUITE()
|
private |
◆ CPPUNIT_TEST_SUITE_END()
|
private |
◆ testAppendCString()
|
protected |
◆ testAppendf()
|
protected |
Definition at line 304 of file testSBuf.cc.
References SBuf::assign(), fox, and s1.
◆ testAppendSBuf()
|
protected |
Definition at line 241 of file testSBuf.cc.
References SBuf::append(), fox1, SBuf::rawContent(), and s1.
◆ testAppendStdString()
|
protected |
Definition at line 279 of file testSBuf.cc.
References alpha, SBuf::append(), control, SBuf::npos, and SBuf::rawContent().
◆ testAutoFind()
|
protected |
Definition at line 1116 of file testSBuf.cc.
References SBufFindTest::run().
◆ testChomp()
|
protected |
Definition at line 581 of file testSBuf.cc.
References SBuf::assign(), s1, and SBuf::trim().
◆ testChop()
|
protected |
Definition at line 517 of file testSBuf.cc.
References SBuf::assign(), SBuf::chop(), SBuf::clear(), SBuf::length(), literal, SBuf::npos, and s1.
◆ testComparisons()
|
protected |
Definition at line 409 of file testSBuf.cc.
References SBuf::assign(), SBuf::c_str(), SBuf::caseCmp(), SBuf::cmp(), SBuf::length(), min(), SBuf::rawContent(), s1, SBuf::setAt(), sign(), testComparisonStd(), testComparisonStdOneWay(), xfree, and xstrdup.
◆ testConsume()
|
protected |
Definition at line 480 of file testSBuf.cc.
References SBuf::assign(), literal, and s1.
◆ testCopy()
|
protected |
Definition at line 858 of file testSBuf.cc.
References SBuf::assign(), SBuf::chop(), fox1, and literal.
◆ testDumpStats()
|
protected |
Definition at line 313 of file testSBuf.cc.
References MemBlobStats::dump(), SBufStats::dump(), MemBlob::GetStats(), and SBuf::GetStats().
◆ testEqualityTest()
|
protected |
Definition at line 223 of file testSBuf.cc.
References SBuf::assign(), SBuf::clear(), fox, and s1.
◆ testFindChar()
|
protected |
Definition at line 630 of file testSBuf.cc.
References SBuf::npos, and s1.
◆ testFindFirstNotOf()
|
protected |
Definition at line 1093 of file testSBuf.cc.
References SBuf::c_str(), SBuf::findFirstNotOf(), SBuf::length(), literal, SBuf::npos, and SBuf::substr().
◆ testFindFirstOf()
|
protected |
Definition at line 1070 of file testSBuf.cc.
References SBuf::findFirstOf(), SBuf::length(), literal, and SBuf::npos.
◆ testFindSBuf()
|
protected |
Definition at line 687 of file testSBuf.cc.
References SBuf::append(), SBuf::find(), SBuf::npos, and SBuf::rfind().
◆ testGrow()
|
protected |
Definition at line 886 of file testSBuf.cc.
References SBuf::append(), SBuf::assign(), literal, SBuf::rawContent(), and SBuf::reserveCapacity().
◆ testIterators()
|
protected |
Definition at line 1132 of file testSBuf.cc.
References SBuf::begin(), SBuf::end(), SBuf::rbegin(), SBuf::rend(), and text.
◆ testPrintf()
|
protected |
Definition at line 262 of file testSBuf.cc.
References SBuf::assign(), and s1.
◆ testRawContent()
|
protected |
Definition at line 493 of file testSBuf.cc.
References SBuf::append(), fox, literal, and s1.
◆ testRawSpace()
|
protected |
Definition at line 506 of file testSBuf.cc.
References fox1, fox2, literal, SBuf::rawAppendFinish(), SBuf::rawAppendStart(), and s1.
◆ testReserve()
|
protected |
Definition at line 901 of file testSBuf.cc.
References SBufReservationRequirements::allowShared, SBuf::append(), SBuf::c_str(), SBuf::consume(), fox, SBuf::GetStats(), SBufReservationRequirements::idealSpace, SBuf::length(), SBufReservationRequirements::maxCapacity, min(), SBufReservationRequirements::minSpace, SBuf::rawContent(), SBuf::reserve(), SBuf::reserveCapacity(), SBuf::reserveSpace(), and SBuf::spaceSize().
◆ testRFindChar()
|
protected |
Definition at line 796 of file testSBuf.cc.
◆ testRFindSBuf()
|
protected |
Definition at line 806 of file testSBuf.cc.
References literal, SBuf::npos, and SBuf::rfind().
◆ testSBufConstructDestruct()
|
protected |
Definition at line 136 of file testSBuf.cc.
References empty_sbuf, fox, literal, SBuf::rawContent(), s1, and SBuf::substr().
Referenced by testSBufConstructDestructAfterMemInit().
◆ testSBufConstructDestructAfterMemInit()
|
protected |
Definition at line 216 of file testSBuf.cc.
References Mem::Init(), and testSBufConstructDestruct().
◆ testSBufHash()
|
protected |
Definition at line 1169 of file testSBuf.cc.
◆ testSBufLength()
|
protected |
Definition at line 851 of file testSBuf.cc.
References fox, and SBuf::length().
◆ testSBufStream()
|
protected |
Definition at line 1052 of file testSBuf.cc.
References SBufStream::buf(), SBufStream::clearBuf(), fox1, fox2, and literal.
◆ testSearchFail()
|
protected |
◆ testStartsWith()
|
protected |
Definition at line 1035 of file testSBuf.cc.
References caseInsensitive, fox1, fox2, literal, SBuf::startsWith(), and ToUpper().
◆ testStdAlgorithm()
|
protected |
Definition at line 1197 of file testSBuf.cc.
References fox.
◆ testStdStringOps()
|
protected |
Definition at line 1123 of file testSBuf.cc.
References SBuf::toStdString().
◆ testStringOps()
|
protected |
Definition at line 872 of file testSBuf.cc.
References caseInsensitive, SBuf::compare(), literal, and ToLower().
◆ testSubscriptOp()
|
protected |
Definition at line 322 of file testSBuf.cc.
References literal, and SBuf::setAt().
◆ testSubscriptOpFail()
|
protected |
Definition at line 334 of file testSBuf.cc.
References SBuf::at(), SBuf::length(), and literal.
◆ testSubstr()
|
protected |
Definition at line 618 of file testSBuf.cc.
References SBuf::assign(), literal, and s1.
◆ testTailCopy()
|
protected |
The documentation for this class was generated from the following file:
- src/tests/testSBuf.cc
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