My Project
|
Functions | |
void | activateAllTests () |
bool | leaveOnly (const char *suiteName, const char *testName) |
CXXTEST_COPY_CONST_TRAITS (CXXTEST_STD(string)) | |
CXXTEST_COPY_CONST_TRAITS (CXXTEST_STD(basic_string< wchar_t >)) | |
template<class Stream , class Iterator > | |
void | dumpRange (Stream &s, Iterator first, Iterator last) |
void | initialize () |
bool | abortTestOnFail () |
void | setAbortTestOnFail (bool value) |
void | doAbortTest () |
unsigned | maxDumpSize () |
void | setMaxDumpSize (unsigned value) |
void | doTrace (const char *file, unsigned line, const char *message) |
void | doWarn (const char *file, unsigned line, const char *message) |
void | doFailTest (const char *file, unsigned line, const char *message) |
void | doFailAssert (const char *file, unsigned line, const char *expression, const char *message) |
bool | sameData (const void *x, const void *y, unsigned size) |
void | doAssertSameData (const char *file, unsigned line, const char *xExpr, const void *x, const char *yExpr, const void *y, const char *sizeExpr, unsigned size, const char *message) |
void | doFailAssertThrows (const char *file, unsigned line, const char *expr, const char *type, bool otherThrown, const char *message) |
void | doFailAssertThrowsNot (const char *file, unsigned line, const char *expression, const char *message) |
template<class X , class Y > | |
bool | equals (X x, Y y) |
template<class X , class Y > | |
void | doAssertEquals (const char *file, unsigned line, const char *xExpr, X x, const char *yExpr, Y y, const char *message) |
template<class X , class Y > | |
bool | differs (X x, Y y) |
template<class X , class Y > | |
void | doAssertDiffers (const char *file, unsigned line, const char *xExpr, X x, const char *yExpr, Y y, const char *message) |
template<class X , class Y > | |
bool | lessThan (X x, Y y) |
template<class X , class Y > | |
void | doAssertLessThan (const char *file, unsigned line, const char *xExpr, X x, const char *yExpr, Y y, const char *message) |
template<class X , class Y > | |
bool | lessThanEquals (X x, Y y) |
template<class X , class Y > | |
void | doAssertLessThanEquals (const char *file, unsigned line, const char *xExpr, X x, const char *yExpr, Y y, const char *message) |
template<class X , class P > | |
void | doAssertPredicate (const char *file, unsigned line, const char *pExpr, const P &p, const char *xExpr, X x, const char *message) |
template<class X , class Y , class R > | |
void | doAssertRelation (const char *file, unsigned line, const char *rExpr, const R &r, const char *xExpr, X x, const char *yExpr, Y y, const char *message) |
template<class X , class Y , class D > | |
bool | delta (X x, Y y, D d) |
template<class X , class Y , class D > | |
void | doAssertDelta (const char *file, unsigned line, const char *xExpr, X x, const char *yExpr, Y y, const char *dExpr, D d, const char *message) |
CXXTEST_INTEGRAL (char) CXXTEST_INTEGRAL(short) CXXTEST_INTEGRAL(int) CXXTEST_INTEGRAL(long) CXXTEST_SMALL_BIG(char | |
short | CXXTEST_SMALL_BIG (char, int) CXXTEST_SMALL_BIG(short |
short int | CXXTEST_SMALL_BIG (char, long) CXXTEST_SMALL_BIG(short |
TestTracker & | tracker () |
char | digitToChar (unsigned digit) |
const char * | byteToHex (unsigned char byte) |
char * | copyString (char *dst, const char *src) |
bool | stringsEqual (const char *s1, const char *s2) |
char * | charToString (unsigned long c, char *s) |
char * | charToString (char c, char *s) |
char * | bytesToString (const unsigned char *bytes, unsigned numBytes, unsigned maxBytes, char *s) |
template<class T > | |
ValueTraits< T > | traits (T t) |
template<class N > | |
bool | negative (N n) |
template<class N > | |
N | abs (N n) |
CXXTEST_NON_NEGATIVE (bool) CXXTEST_NON_NEGATIVE(unsigned char) CXXTEST_NON_NEGATIVE(unsigned short int) CXXTEST_NON_NEGATIVE(unsigned int) CXXTEST_NON_NEGATIVE(unsigned long int) template< class N > char *numberToString(N n | |
CXXTEST_COPY_TRAITS (const char *, const char *const &) | |
CXXTEST_COPY_TRAITS (char *, const char *const &) | |
CXXTEST_COPY_CONST_TRAITS (bool) | |
CXXTEST_COPY_CONST_TRAITS (signed long int) | |
CXXTEST_COPY_CONST_TRAITS (unsigned long int) | |
CXXTEST_COPY_TRAITS (const signed int, const signed long int) | |
CXXTEST_COPY_TRAITS (const unsigned int, const unsigned long int) | |
CXXTEST_COPY_TRAITS (const signed short int, const signed long int) | |
CXXTEST_COPY_TRAITS (const unsigned short int, const unsigned long int) | |
CXXTEST_COPY_TRAITS (const unsigned char, const unsigned long int) | |
CXXTEST_COPY_CONST_TRAITS (signed int) | |
CXXTEST_COPY_CONST_TRAITS (unsigned int) | |
CXXTEST_COPY_CONST_TRAITS (signed short int) | |
CXXTEST_COPY_CONST_TRAITS (unsigned short int) | |
CXXTEST_COPY_CONST_TRAITS (unsigned char) | |
CXXTEST_COPY_CONST_TRAITS (char) | |
CXXTEST_COPY_TRAITS (const signed char, const char) | |
CXXTEST_COPY_CONST_TRAITS (signed char) | |
CXXTEST_COPY_CONST_TRAITS (double) | |
CXXTEST_COPY_TRAITS (const float, const double) | |
CXXTEST_COPY_CONST_TRAITS (float) | |
Variables | |
static bool | currentAbortTestOnFail = false |
static unsigned | currentMaxDumpSize = CXXTEST_MAX_DUMP_SIZE |
char * | s |
char N | base = 10 |
char N unsigned | skipDigits = 0 |
char N unsigned unsigned | maxDigits |
class CxxTest::AbortTest |
Definition at line 29 of file TestSuite.h.
bool CxxTest::abortTestOnFail | ( | ) |
Definition at line 20 of file TestSuite.cpp.
Definition at line 120 of file ValueTraits.h.
void CxxTest::activateAllTests | ( | ) |
Definition at line 299 of file RealDescriptions.cpp.
char * CxxTest::bytesToString | ( | const unsigned char * | bytes, |
unsigned | numBytes, | ||
unsigned | maxBytes, | ||
char * | s | ||
) |
Definition at line 82 of file ValueTraits.cpp.
const char * CxxTest::byteToHex | ( | unsigned char | byte | ) |
Definition at line 21 of file ValueTraits.cpp.
char * CxxTest::charToString | ( | char | c, |
char * | s | ||
) |
Definition at line 77 of file ValueTraits.cpp.
char * CxxTest::charToString | ( | unsigned long | c, |
char * | s | ||
) |
Definition at line 48 of file ValueTraits.cpp.
char * CxxTest::copyString | ( | char * | dst, |
const char * | src | ||
) |
Definition at line 30 of file ValueTraits.cpp.
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | bool | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | char | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | CXXTEST_STD(basic_string< wchar_t >) | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | CXXTEST_STD(string) | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | double | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | float | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | signed char | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | signed int | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | signed long int | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | signed short int | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | unsigned char | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | unsigned int | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | unsigned long int | ) |
CxxTest::CXXTEST_COPY_CONST_TRAITS | ( | unsigned short int | ) |
CxxTest::CXXTEST_INTEGRAL | ( | char | ) |
CxxTest::CXXTEST_NON_NEGATIVE | ( | bool | ) |
short CxxTest::CXXTEST_SMALL_BIG | ( | char | , |
int | |||
) |
short int CxxTest::CXXTEST_SMALL_BIG | ( | char | , |
long | |||
) |
Definition at line 160 of file TestSuite.h.
bool CxxTest::differs | ( | X | x, |
Y | y | ||
) |
Definition at line 71 of file TestSuite.h.
char CxxTest::digitToChar | ( | unsigned | digit | ) |
Definition at line 12 of file ValueTraits.cpp.
void CxxTest::doAbortTest | ( | ) |
Definition at line 30 of file TestSuite.cpp.
void CxxTest::doAssertDelta | ( | const char * | file, |
unsigned | line, | ||
const char * | xExpr, | ||
X | x, | ||
const char * | yExpr, | ||
Y | y, | ||
const char * | dExpr, | ||
D | d, | ||
const char * | message | ||
) |
Definition at line 166 of file TestSuite.h.
void CxxTest::doAssertDiffers | ( | const char * | file, |
unsigned | line, | ||
const char * | xExpr, | ||
X | x, | ||
const char * | yExpr, | ||
Y | y, | ||
const char * | message | ||
) |
Definition at line 77 of file TestSuite.h.
void CxxTest::doAssertEquals | ( | const char * | file, |
unsigned | line, | ||
const char * | xExpr, | ||
X | x, | ||
const char * | yExpr, | ||
Y | y, | ||
const char * | message | ||
) |
Definition at line 51 of file TestSuite.h.
void CxxTest::doAssertLessThan | ( | const char * | file, |
unsigned | line, | ||
const char * | xExpr, | ||
X | x, | ||
const char * | yExpr, | ||
Y | y, | ||
const char * | message | ||
) |
Definition at line 97 of file TestSuite.h.
void CxxTest::doAssertLessThanEquals | ( | const char * | file, |
unsigned | line, | ||
const char * | xExpr, | ||
X | x, | ||
const char * | yExpr, | ||
Y | y, | ||
const char * | message | ||
) |
Definition at line 117 of file TestSuite.h.
void CxxTest::doAssertPredicate | ( | const char * | file, |
unsigned | line, | ||
const char * | pExpr, | ||
const P & | p, | ||
const char * | xExpr, | ||
X | x, | ||
const char * | message | ||
) |
Definition at line 131 of file TestSuite.h.
void CxxTest::doAssertRelation | ( | const char * | file, |
unsigned | line, | ||
const char * | rExpr, | ||
const R & | r, | ||
const char * | xExpr, | ||
X | x, | ||
const char * | yExpr, | ||
Y | y, | ||
const char * | message | ||
) |
Definition at line 145 of file TestSuite.h.
void CxxTest::doAssertSameData | ( | const char * | file, |
unsigned | line, | ||
const char * | xExpr, | ||
const void * | x, | ||
const char * | yExpr, | ||
const void * | y, | ||
const char * | sizeExpr, | ||
unsigned | size, | ||
const char * | message | ||
) |
Definition at line 101 of file TestSuite.cpp.
void CxxTest::doFailAssert | ( | const char * | file, |
unsigned | line, | ||
const char * | expression, | ||
const char * | message | ||
) |
Definition at line 72 of file TestSuite.cpp.
void CxxTest::doFailAssertThrows | ( | const char * | file, |
unsigned | line, | ||
const char * | expr, | ||
const char * | type, | ||
bool | otherThrown, | ||
const char * | message | ||
) |
Definition at line 115 of file TestSuite.cpp.
void CxxTest::doFailAssertThrowsNot | ( | const char * | file, |
unsigned | line, | ||
const char * | expression, | ||
const char * | message | ||
) |
Definition at line 127 of file TestSuite.cpp.
Definition at line 66 of file TestSuite.cpp.
Definition at line 56 of file TestSuite.cpp.
Definition at line 61 of file TestSuite.cpp.
void CxxTest::dumpRange | ( | Stream & | s, |
Iterator | first, | ||
Iterator | last | ||
) |
Definition at line 92 of file StdValueTraits.h.
bool CxxTest::equals | ( | X | x, |
Y | y | ||
) |
Definition at line 45 of file TestSuite.h.
void CxxTest::initialize | ( | ) |
Definition at line 304 of file RealDescriptions.cpp.
bool CxxTest::lessThan | ( | X | x, |
Y | y | ||
) |
Definition at line 91 of file TestSuite.h.
bool CxxTest::lessThanEquals | ( | X | x, |
Y | y | ||
) |
Definition at line 111 of file TestSuite.h.
unsigned CxxTest::maxDumpSize | ( | ) |
Definition at line 43 of file TestSuite.cpp.
Definition at line 119 of file ValueTraits.h.
Definition at line 81 of file TestSuite.cpp.
void CxxTest::setAbortTestOnFail | ( | bool | value | ) |
Definition at line 25 of file TestSuite.cpp.
void CxxTest::setMaxDumpSize | ( | unsigned | value | ) |
Definition at line 48 of file TestSuite.cpp.
Definition at line 39 of file ValueTraits.cpp.
|
inline |
Definition at line 111 of file TestTracker.h.
|
inline |
Definition at line 89 of file ValueTraits.h.
char N CxxTest::base = 10 |
Definition at line 144 of file ValueTraits.h.
|
static |
Definition at line 18 of file TestSuite.cpp.
|
static |
Definition at line 41 of file TestSuite.cpp.
char N unsigned unsigned CxxTest::maxDigits |
Definition at line 146 of file ValueTraits.h.
char* CxxTest::s |
Definition at line 143 of file ValueTraits.h.
char N unsigned CxxTest::skipDigits = 0 |
Definition at line 145 of file ValueTraits.h.