#include <testSBuf.h>

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 20 of file testSBuf.h.

Member Function Documentation

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

Definition at line 183 of file testSBuf.cc.

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

void testSBuf::testAppendf ( )
protected

Definition at line 216 of file testSBuf.cc.

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

void testSBuf::testAppendSBuf ( )
protected

Definition at line 153 of file testSBuf.cc.

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

void testSBuf::testAppendStdString ( )
protected

Definition at line 191 of file testSBuf.cc.

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

void testSBuf::testAutoFind ( )
protected

Definition at line 937 of file testSBuf.cc.

References SBufFindTest::run().

void testSBuf::testChomp ( )
protected

Definition at line 493 of file testSBuf.cc.

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

void testSBuf::testChop ( )
protected

Definition at line 429 of file testSBuf.cc.

References a, SBuf::assign(), SBuf::chop(), SBuf::clear(), SBuf::length(), literal, SBuf::npos, and s1.

void testSBuf::testConsume ( )
protected

Definition at line 392 of file testSBuf.cc.

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

void testSBuf::testCopy ( )
protected

Definition at line 770 of file testSBuf.cc.

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

void testSBuf::testDumpStats ( )
protected
void testSBuf::testEqualityTest ( )
protected

Definition at line 135 of file testSBuf.cc.

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

void testSBuf::testFindChar ( )
protected

Definition at line 542 of file testSBuf.cc.

References SBuf::find(), SBuf::length(), SBuf::npos, SBuf::rfind(), and s1.

void testSBuf::testFindFirstNotOf ( )
protected
void testSBuf::testFindFirstOf ( )
protected

Definition at line 891 of file testSBuf.cc.

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

void testSBuf::testFindSBuf ( )
protected

Definition at line 599 of file testSBuf.cc.

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

void testSBuf::testGrow ( )
protected
void testSBuf::testIterators ( )
protected

Definition at line 953 of file testSBuf.cc.

References SBuf::begin(), i, and text.

void testSBuf::testPrintf ( )
protected

Definition at line 174 of file testSBuf.cc.

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

void testSBuf::testRawContent ( )
protected

Definition at line 405 of file testSBuf.cc.

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

void testSBuf::testRawSpace ( )
protected

Definition at line 418 of file testSBuf.cc.

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

void testSBuf::testRFindChar ( )
protected

Definition at line 708 of file testSBuf.cc.

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

void testSBuf::testRFindSBuf ( )
protected

Definition at line 718 of file testSBuf.cc.

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

void testSBuf::testSBufConstructDestruct ( )
protected
void testSBuf::testSBufConstructDestructAfterMemInit ( )
protected

Definition at line 128 of file testSBuf.cc.

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

void testSBuf::testSBufHash ( )
protected

Definition at line 990 of file testSBuf.cc.

References fox, fox1, i, and literal.

void testSBuf::testSBufLength ( )
protected

Definition at line 763 of file testSBuf.cc.

References fox, and SBuf::length().

void testSBuf::testSBufStream ( )
protected

Definition at line 873 of file testSBuf.cc.

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

void testSBuf::testSearchFail ( )
protected
void testSBuf::testStartsWith ( )
protected

Definition at line 856 of file testSBuf.cc.

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

void testSBuf::testStdStringOps ( )
protected

Definition at line 944 of file testSBuf.cc.

References sb, and SBuf::toStdString().

void testSBuf::testStringOps ( )
protected

Definition at line 784 of file testSBuf.cc.

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

void testSBuf::testSubscriptOp ( )
protected

Definition at line 234 of file testSBuf.cc.

References literal, and SBuf::setAt().

void testSBuf::testSubscriptOpFail ( )
protected

Definition at line 246 of file testSBuf.cc.

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

void testSBuf::testSubstr ( )
protected

Definition at line 530 of file testSBuf.cc.

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

void testSBuf::testTailCopy ( )
protected

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors