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 () |
Detailed Description
Definition at line 30 of file testSBuf.cc.
Member Function Documentation
◆ commonInit()
|
protected |
◆ CPPUNIT_TEST() [1/33]
|
private |
◆ CPPUNIT_TEST() [2/33]
|
private |
◆ CPPUNIT_TEST() [3/33]
|
private |
◆ CPPUNIT_TEST() [4/33]
|
private |
◆ CPPUNIT_TEST() [5/33]
|
private |
◆ CPPUNIT_TEST() [6/33]
|
private |
◆ CPPUNIT_TEST() [7/33]
|
private |
◆ CPPUNIT_TEST() [8/33]
|
private |
◆ CPPUNIT_TEST() [9/33]
|
private |
◆ CPPUNIT_TEST() [10/33]
|
private |
◆ CPPUNIT_TEST() [11/33]
|
private |
◆ CPPUNIT_TEST() [12/33]
|
private |
◆ CPPUNIT_TEST() [13/33]
|
private |
◆ CPPUNIT_TEST() [14/33]
|
private |
◆ CPPUNIT_TEST() [15/33]
|
private |
◆ CPPUNIT_TEST() [16/33]
|
private |
◆ CPPUNIT_TEST() [17/33]
|
private |
◆ CPPUNIT_TEST() [18/33]
|
private |
◆ CPPUNIT_TEST() [19/33]
|
private |
◆ CPPUNIT_TEST() [20/33]
|
private |
◆ CPPUNIT_TEST() [21/33]
|
private |
◆ CPPUNIT_TEST() [22/33]
|
private |
◆ CPPUNIT_TEST() [23/33]
|
private |
◆ CPPUNIT_TEST() [24/33]
|
private |
◆ CPPUNIT_TEST() [25/33]
|
private |
◆ CPPUNIT_TEST() [26/33]
|
private |
◆ CPPUNIT_TEST() [27/33]
|
private |
◆ CPPUNIT_TEST() [28/33]
|
private |
◆ CPPUNIT_TEST() [29/33]
|
private |
◆ CPPUNIT_TEST() [30/33]
|
private |
◆ CPPUNIT_TEST() [31/33]
|
private |
◆ CPPUNIT_TEST() [32/33]
|
private |
◆ CPPUNIT_TEST() [33/33]
|
private |
◆ CPPUNIT_TEST_EXCEPTION()
|
private |
◆ CPPUNIT_TEST_SUITE()
|
private |
◆ CPPUNIT_TEST_SUITE_END()
|
private |
◆ testAppendCString()
|
protected |
◆ testAppendf()
|
protected |
Definition at line 301 of file testSBuf.cc.
References SBuf::assign(), fox, and s1.
◆ testAppendSBuf()
|
protected |
Definition at line 238 of file testSBuf.cc.
References SBuf::append(), fox1, SBuf::rawContent(), and s1.
◆ testAppendStdString()
|
protected |
Definition at line 276 of file testSBuf.cc.
References alpha, SBuf::append(), control, SBuf::npos, and SBuf::rawContent().
◆ testAutoFind()
|
protected |
Definition at line 1113 of file testSBuf.cc.
References SBufFindTest::run().
◆ testChomp()
|
protected |
Definition at line 578 of file testSBuf.cc.
References SBuf::assign(), s1, and SBuf::trim().
◆ testChop()
|
protected |
Definition at line 514 of file testSBuf.cc.
References SBuf::assign(), SBuf::chop(), SBuf::clear(), SBuf::length(), literal, SBuf::npos, and s1.
◆ testComparisons()
|
protected |
Definition at line 406 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 477 of file testSBuf.cc.
References SBuf::assign(), literal, and s1.
◆ testCopy()
|
protected |
Definition at line 855 of file testSBuf.cc.
References SBuf::assign(), SBuf::chop(), fox1, and literal.
◆ testDumpStats()
|
protected |
Definition at line 310 of file testSBuf.cc.
References MemBlobStats::dump(), SBufStats::dump(), MemBlob::GetStats(), and SBuf::GetStats().
◆ testEqualityTest()
|
protected |
Definition at line 220 of file testSBuf.cc.
References SBuf::assign(), SBuf::clear(), fox, and s1.
◆ testFindChar()
|
protected |
Definition at line 627 of file testSBuf.cc.
References SBuf::npos, and s1.
◆ testFindFirstNotOf()
|
protected |
Definition at line 1090 of file testSBuf.cc.
References SBuf::c_str(), SBuf::findFirstNotOf(), SBuf::length(), literal, SBuf::npos, and SBuf::substr().
◆ testFindFirstOf()
|
protected |
Definition at line 1067 of file testSBuf.cc.
References SBuf::findFirstOf(), SBuf::length(), literal, and SBuf::npos.
◆ testFindSBuf()
|
protected |
Definition at line 684 of file testSBuf.cc.
References SBuf::append(), SBuf::find(), SBuf::npos, and SBuf::rfind().
◆ testGrow()
|
protected |
Definition at line 883 of file testSBuf.cc.
References SBuf::append(), SBuf::assign(), literal, match(), SBuf::rawContent(), and SBuf::reserveCapacity().
◆ testIterators()
|
protected |
Definition at line 1129 of file testSBuf.cc.
References SBuf::begin(), SBuf::end(), SBuf::rbegin(), SBuf::rend(), and text.
◆ testPrintf()
|
protected |
Definition at line 259 of file testSBuf.cc.
References SBuf::assign(), and s1.
◆ testRawContent()
|
protected |
Definition at line 490 of file testSBuf.cc.
References SBuf::append(), fox, literal, and s1.
◆ testRawSpace()
|
protected |
Definition at line 503 of file testSBuf.cc.
References fox1, fox2, literal, SBuf::rawAppendFinish(), SBuf::rawAppendStart(), and s1.
◆ testReserve()
|
protected |
Definition at line 898 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 793 of file testSBuf.cc.
◆ testRFindSBuf()
|
protected |
Definition at line 803 of file testSBuf.cc.
References literal, SBuf::npos, and SBuf::rfind().
◆ testSBufConstructDestruct()
|
protected |
Definition at line 133 of file testSBuf.cc.
References empty_sbuf, fox, literal, SBuf::rawContent(), s1, and SBuf::substr().
Referenced by testSBufConstructDestructAfterMemInit().
◆ testSBufConstructDestructAfterMemInit()
|
protected |
Definition at line 213 of file testSBuf.cc.
References Mem::Init(), and testSBufConstructDestruct().
◆ testSBufHash()
|
protected |
Definition at line 1166 of file testSBuf.cc.
◆ testSBufLength()
|
protected |
Definition at line 848 of file testSBuf.cc.
References fox, and SBuf::length().
◆ testSBufStream()
|
protected |
Definition at line 1049 of file testSBuf.cc.
References SBufStream::buf(), SBufStream::clearBuf(), fox1, fox2, and literal.
◆ testSearchFail()
|
protected |
◆ testStartsWith()
|
protected |
Definition at line 1032 of file testSBuf.cc.
References caseInsensitive, fox1, fox2, literal, SBuf::startsWith(), and ToUpper().
◆ testStdStringOps()
|
protected |
Definition at line 1120 of file testSBuf.cc.
References sb.
◆ testStringOps()
|
protected |
Definition at line 869 of file testSBuf.cc.
References caseInsensitive, SBuf::compare(), literal, and ToLower().
◆ testSubscriptOp()
|
protected |
Definition at line 319 of file testSBuf.cc.
References literal, and SBuf::setAt().
◆ testSubscriptOpFail()
|
protected |
Definition at line 331 of file testSBuf.cc.
References SBuf::at(), SBuf::length(), and literal.
◆ testSubstr()
|
protected |
Definition at line 615 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