Inheritance diagram for TestSBuf:
Collaboration diagram for TestSBuf:

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 ()
 

Private Member Functions

 CPPUNIT_TEST_SUITE (TestSBuf)
 
 CPPUNIT_TEST (testSBufConstructDestruct)
 
 CPPUNIT_TEST (testSBufConstructDestructAfterMemInit)
 
 CPPUNIT_TEST (testSBufLength)
 
 CPPUNIT_TEST (testEqualityTest)
 
 CPPUNIT_TEST (testStartsWith)
 
 CPPUNIT_TEST (testAppendSBuf)
 
 CPPUNIT_TEST (testAppendCString)
 
 CPPUNIT_TEST (testAppendStdString)
 
 CPPUNIT_TEST (testAppendf)
 
 CPPUNIT_TEST (testSubscriptOp)
 
 CPPUNIT_TEST_EXCEPTION (testSubscriptOpFail, TextException)
 
 CPPUNIT_TEST (testComparisons)
 
 CPPUNIT_TEST (testConsume)
 
 CPPUNIT_TEST (testRawContent)
 
 CPPUNIT_TEST (testRawSpace)
 
 CPPUNIT_TEST (testChop)
 
 CPPUNIT_TEST (testChomp)
 
 CPPUNIT_TEST (testSubstr)
 
 CPPUNIT_TEST (testFindChar)
 
 CPPUNIT_TEST (testFindSBuf)
 
 CPPUNIT_TEST (testRFindChar)
 
 CPPUNIT_TEST (testRFindSBuf)
 
 CPPUNIT_TEST (testFindFirstOf)
 
 CPPUNIT_TEST (testFindFirstNotOf)
 
 CPPUNIT_TEST (testPrintf)
 
 CPPUNIT_TEST (testCopy)
 
 CPPUNIT_TEST (testStringOps)
 
 CPPUNIT_TEST (testGrow)
 
 CPPUNIT_TEST (testReserve)
 
 CPPUNIT_TEST (testSBufStream)
 
 CPPUNIT_TEST (testAutoFind)
 
 CPPUNIT_TEST (testStdStringOps)
 
 CPPUNIT_TEST (testIterators)
 
 CPPUNIT_TEST (testSBufHash)
 
 CPPUNIT_TEST_SUITE_END ()
 

Detailed Description

Definition at line 30 of file testSBuf.cc.

Member Function Documentation

◆ commonInit()

void TestSBuf::commonInit ( )
protected

◆ CPPUNIT_TEST() [1/33]

TestSBuf::CPPUNIT_TEST ( testAppendCString  )
private

◆ CPPUNIT_TEST() [2/33]

TestSBuf::CPPUNIT_TEST ( testAppendf  )
private

◆ CPPUNIT_TEST() [3/33]

TestSBuf::CPPUNIT_TEST ( testAppendSBuf  )
private

◆ CPPUNIT_TEST() [4/33]

TestSBuf::CPPUNIT_TEST ( testAppendStdString  )
private

◆ CPPUNIT_TEST() [5/33]

TestSBuf::CPPUNIT_TEST ( testAutoFind  )
private

◆ CPPUNIT_TEST() [6/33]

TestSBuf::CPPUNIT_TEST ( testChomp  )
private

◆ CPPUNIT_TEST() [7/33]

TestSBuf::CPPUNIT_TEST ( testChop  )
private

◆ CPPUNIT_TEST() [8/33]

TestSBuf::CPPUNIT_TEST ( testComparisons  )
private

◆ CPPUNIT_TEST() [9/33]

TestSBuf::CPPUNIT_TEST ( testConsume  )
private

◆ CPPUNIT_TEST() [10/33]

TestSBuf::CPPUNIT_TEST ( testCopy  )
private

◆ CPPUNIT_TEST() [11/33]

TestSBuf::CPPUNIT_TEST ( testEqualityTest  )
private

◆ CPPUNIT_TEST() [12/33]

TestSBuf::CPPUNIT_TEST ( testFindChar  )
private

◆ CPPUNIT_TEST() [13/33]

TestSBuf::CPPUNIT_TEST ( testFindFirstNotOf  )
private

◆ CPPUNIT_TEST() [14/33]

TestSBuf::CPPUNIT_TEST ( testFindFirstOf  )
private

◆ CPPUNIT_TEST() [15/33]

TestSBuf::CPPUNIT_TEST ( testFindSBuf  )
private

◆ CPPUNIT_TEST() [16/33]

TestSBuf::CPPUNIT_TEST ( testGrow  )
private

◆ CPPUNIT_TEST() [17/33]

TestSBuf::CPPUNIT_TEST ( testIterators  )
private

◆ CPPUNIT_TEST() [18/33]

TestSBuf::CPPUNIT_TEST ( testPrintf  )
private

◆ CPPUNIT_TEST() [19/33]

TestSBuf::CPPUNIT_TEST ( testRawContent  )
private

◆ CPPUNIT_TEST() [20/33]

TestSBuf::CPPUNIT_TEST ( testRawSpace  )
private

◆ CPPUNIT_TEST() [21/33]

TestSBuf::CPPUNIT_TEST ( testReserve  )
private

◆ CPPUNIT_TEST() [22/33]

TestSBuf::CPPUNIT_TEST ( testRFindChar  )
private

◆ CPPUNIT_TEST() [23/33]

TestSBuf::CPPUNIT_TEST ( testRFindSBuf  )
private

◆ CPPUNIT_TEST() [24/33]

TestSBuf::CPPUNIT_TEST ( testSBufConstructDestruct  )
private

◆ CPPUNIT_TEST() [25/33]

TestSBuf::CPPUNIT_TEST ( testSBufConstructDestructAfterMemInit  )
private

◆ CPPUNIT_TEST() [26/33]

TestSBuf::CPPUNIT_TEST ( testSBufHash  )
private

◆ CPPUNIT_TEST() [27/33]

TestSBuf::CPPUNIT_TEST ( testSBufLength  )
private

◆ CPPUNIT_TEST() [28/33]

TestSBuf::CPPUNIT_TEST ( testSBufStream  )
private

◆ CPPUNIT_TEST() [29/33]

TestSBuf::CPPUNIT_TEST ( testStartsWith  )
private

◆ CPPUNIT_TEST() [30/33]

TestSBuf::CPPUNIT_TEST ( testStdStringOps  )
private

◆ CPPUNIT_TEST() [31/33]

TestSBuf::CPPUNIT_TEST ( testStringOps  )
private

◆ CPPUNIT_TEST() [32/33]

TestSBuf::CPPUNIT_TEST ( testSubscriptOp  )
private

◆ CPPUNIT_TEST() [33/33]

TestSBuf::CPPUNIT_TEST ( testSubstr  )
private

◆ CPPUNIT_TEST_EXCEPTION()

TestSBuf::CPPUNIT_TEST_EXCEPTION ( testSubscriptOpFail  ,
TextException   
)
private

◆ CPPUNIT_TEST_SUITE()

TestSBuf::CPPUNIT_TEST_SUITE ( TestSBuf  )
private

◆ CPPUNIT_TEST_SUITE_END()

TestSBuf::CPPUNIT_TEST_SUITE_END ( )
private

◆ testAppendCString()

void TestSBuf::testAppendCString ( )
protected

Definition at line 268 of file testSBuf.cc.

References fox1, fox2, literal, and s1.

◆ testAppendf()

void TestSBuf::testAppendf ( )
protected

Definition at line 301 of file testSBuf.cc.

References SBuf::assign(), fox, and s1.

◆ testAppendSBuf()

void TestSBuf::testAppendSBuf ( )
protected

Definition at line 238 of file testSBuf.cc.

References SBuf::append(), fox1, SBuf::rawContent(), and s1.

◆ testAppendStdString()

void TestSBuf::testAppendStdString ( )
protected

Definition at line 276 of file testSBuf.cc.

References alpha, SBuf::append(), control, SBuf::npos, and SBuf::rawContent().

◆ testAutoFind()

void TestSBuf::testAutoFind ( )
protected

Definition at line 1113 of file testSBuf.cc.

References SBufFindTest::run().

◆ testChomp()

void TestSBuf::testChomp ( )
protected

Definition at line 578 of file testSBuf.cc.

References SBuf::assign(), s1, and SBuf::trim().

◆ testChop()

void TestSBuf::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()

◆ testConsume()

void TestSBuf::testConsume ( )
protected

Definition at line 477 of file testSBuf.cc.

References SBuf::assign(), literal, and s1.

◆ testCopy()

void TestSBuf::testCopy ( )
protected

Definition at line 855 of file testSBuf.cc.

References SBuf::assign(), SBuf::chop(), fox1, and literal.

◆ testDumpStats()

void TestSBuf::testDumpStats ( )
protected

◆ testEqualityTest()

void TestSBuf::testEqualityTest ( )
protected

Definition at line 220 of file testSBuf.cc.

References SBuf::assign(), SBuf::clear(), fox, and s1.

◆ testFindChar()

void TestSBuf::testFindChar ( )
protected

Definition at line 627 of file testSBuf.cc.

References SBuf::npos, and s1.

◆ testFindFirstNotOf()

void TestSBuf::testFindFirstNotOf ( )
protected

◆ testFindFirstOf()

void TestSBuf::testFindFirstOf ( )
protected

Definition at line 1067 of file testSBuf.cc.

References SBuf::findFirstOf(), SBuf::length(), literal, and SBuf::npos.

◆ testFindSBuf()

void TestSBuf::testFindSBuf ( )
protected

Definition at line 684 of file testSBuf.cc.

References SBuf::append(), SBuf::find(), SBuf::npos, and SBuf::rfind().

◆ testGrow()

void TestSBuf::testGrow ( )
protected

◆ testIterators()

void TestSBuf::testIterators ( )
protected

Definition at line 1129 of file testSBuf.cc.

References SBuf::begin(), SBuf::end(), SBuf::rbegin(), SBuf::rend(), and text.

◆ testPrintf()

void TestSBuf::testPrintf ( )
protected

Definition at line 259 of file testSBuf.cc.

References SBuf::assign(), and s1.

◆ testRawContent()

void TestSBuf::testRawContent ( )
protected

Definition at line 490 of file testSBuf.cc.

References SBuf::append(), fox, literal, and s1.

◆ testRawSpace()

void TestSBuf::testRawSpace ( )
protected

Definition at line 503 of file testSBuf.cc.

References fox1, fox2, literal, SBuf::rawAppendFinish(), SBuf::rawAppendStart(), and s1.

◆ testReserve()

◆ testRFindChar()

void TestSBuf::testRFindChar ( )
protected

Definition at line 793 of file testSBuf.cc.

References literal, and s1.

◆ testRFindSBuf()

void TestSBuf::testRFindSBuf ( )
protected

Definition at line 803 of file testSBuf.cc.

References literal, SBuf::npos, and SBuf::rfind().

◆ testSBufConstructDestruct()

void TestSBuf::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()

void TestSBuf::testSBufConstructDestructAfterMemInit ( )
protected

Definition at line 213 of file testSBuf.cc.

References Mem::Init(), and testSBufConstructDestruct().

◆ testSBufHash()

void TestSBuf::testSBufHash ( )
protected

Definition at line 1166 of file testSBuf.cc.

References fox, fox1, and literal.

◆ testSBufLength()

void TestSBuf::testSBufLength ( )
protected

Definition at line 848 of file testSBuf.cc.

References fox, and SBuf::length().

◆ testSBufStream()

void TestSBuf::testSBufStream ( )
protected

Definition at line 1049 of file testSBuf.cc.

References SBufStream::buf(), SBufStream::clearBuf(), fox1, fox2, and literal.

◆ testSearchFail()

void TestSBuf::testSearchFail ( )
protected

◆ testStartsWith()

void TestSBuf::testStartsWith ( )
protected

Definition at line 1032 of file testSBuf.cc.

References caseInsensitive, fox1, fox2, literal, SBuf::startsWith(), and ToUpper().

◆ testStdStringOps()

void TestSBuf::testStdStringOps ( )
protected

Definition at line 1120 of file testSBuf.cc.

References sb.

◆ testStringOps()

void TestSBuf::testStringOps ( )
protected

Definition at line 869 of file testSBuf.cc.

References caseInsensitive, SBuf::compare(), literal, and ToLower().

◆ testSubscriptOp()

void TestSBuf::testSubscriptOp ( )
protected

Definition at line 319 of file testSBuf.cc.

References literal, and SBuf::setAt().

◆ testSubscriptOpFail()

void TestSBuf::testSubscriptOpFail ( )
protected

Definition at line 331 of file testSBuf.cc.

References SBuf::at(), SBuf::length(), and literal.

◆ testSubstr()

void TestSBuf::testSubstr ( )
protected

Definition at line 615 of file testSBuf.cc.

References SBuf::assign(), literal, and s1.

◆ testTailCopy()

void TestSBuf::testTailCopy ( )
protected

The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors