Frobby
0.9.5
|
Classes | |
struct | StdData |
Functions | |
void | assertOK (const StdData &data) |
void | assertFail (const char *cond, const char *expected, const StdData &data) |
void | assertFail1 (const char *cond, const char *expected, const StdData &data, const char *exp1, string exp1Value) |
void | assertFail2 (const char *cond, const char *expected, const StdData &data, const char *exp1, string exp1Value, const char *exp2, string exp2Value) |
void | assertSucceeded (bool printDot) |
void | assertFailed (const char *errorMsg, const char *testName, const char *file, size_t line) |
void | assertFailed2 (const char *errorMsg, const char *testName, const char *file, size_t line, const char *expression1, const char *expression1Value, const char *expression2, const char *expression2Value) |
void | assertTrue (bool value, const char *valueString, const char *testName, const char *file, size_t line, bool printDot) |
void | assertTrue2Failed (const char *valueString, const char *testName, const char *file, size_t line, const char *expression1, const char *expression1Value, const char *expression2, const char *expression2Value) |
void | assertFalse (bool value, const char *valueString, const char *testName, const char *file, size_t line, bool printDot) |
void | assertEqualFailed (const char *a, const char *b, const char *aString, const char *bString, const char *testName, const char *file, size_t line) |
void | assertNotEqualFailed (const char *a, const char *b, const char *aString, const char *bString, const char *testName, const char *file, size_t line) |
template<class T > | |
string | toStr (const T &t) |
template<class A , class B > | |
void | assertTrue2 (bool value, const char *valueString, const char *testName, const char *file, size_t line, const char *expression1, const A &a, const char *expression2, const B &b, bool printDot) |
template<class T1 , class T2 > | |
void | assertEqual (const T1 &a, const T2 &b, const char *aString, const char *bString, const char *testName, const char *file, size_t line, bool printDot) |
template<class T1 , class T2 > | |
void | assertNotEqual (const T1 &a, const T2 &b, const char *aString, const char *bString, const char *testName, const char *file, size_t line, bool printDot) |
template<class T > | |
ostream & | operator<< (ostream &out, const vector< T > &v) |
Prints out a vector. More... | |
void TestInternal::assertEqual | ( | const T1 & | a, |
const T2 & | b, | ||
const char * | aString, | ||
const char * | bString, | ||
const char * | testName, | ||
const char * | file, | ||
size_t | line, | ||
bool | printDot | ||
) |
void TestInternal::assertEqualFailed | ( | const char * | a, |
const char * | b, | ||
const char * | aString, | ||
const char * | bString, | ||
const char * | testName, | ||
const char * | file, | ||
size_t | line | ||
) |
Definition at line 191 of file asserts.cpp.
void TestInternal::assertFail | ( | const char * | cond, |
const char * | expected, | ||
const StdData & | data | ||
) |
Definition at line 38 of file asserts.cpp.
void TestInternal::assertFail1 | ( | const char * | cond, |
const char * | expected, | ||
const StdData & | data, | ||
const char * | exp1, | ||
string | exp1Value | ||
) |
Definition at line 59 of file asserts.cpp.
void TestInternal::assertFail2 | ( | const char * | cond, |
const char * | expected, | ||
const StdData & | data, | ||
const char * | exp1, | ||
string | exp1Value, | ||
const char * | exp2, | ||
string | exp2Value | ||
) |
Definition at line 83 of file asserts.cpp.
void TestInternal::assertFailed | ( | const char * | errorMsg, |
const char * | testName, | ||
const char * | file, | ||
size_t | line | ||
) |
Definition at line 117 of file asserts.cpp.
void TestInternal::assertFailed2 | ( | const char * | errorMsg, |
const char * | testName, | ||
const char * | file, | ||
size_t | line, | ||
const char * | expression1, | ||
const char * | expression1Value, | ||
const char * | expression2, | ||
const char * | expression2Value | ||
) |
Definition at line 141 of file asserts.cpp.
void TestInternal::assertFalse | ( | bool | value, |
const char * | valueString, | ||
const char * | testName, | ||
const char * | file, | ||
size_t | line, | ||
bool | printDot | ||
) |
Definition at line 178 of file asserts.cpp.
void TestInternal::assertNotEqual | ( | const T1 & | a, |
const T2 & | b, | ||
const char * | aString, | ||
const char * | bString, | ||
const char * | testName, | ||
const char * | file, | ||
size_t | line, | ||
bool | printDot | ||
) |
void TestInternal::assertNotEqualFailed | ( | const char * | a, |
const char * | b, | ||
const char * | aString, | ||
const char * | bString, | ||
const char * | testName, | ||
const char * | file, | ||
size_t | line | ||
) |
Definition at line 202 of file asserts.cpp.
void TestInternal::assertOK | ( | const StdData & | data | ) |
Definition at line 31 of file asserts.cpp.
void TestInternal::assertSucceeded | ( | bool | printDot | ) |
Definition at line 110 of file asserts.cpp.
void TestInternal::assertTrue | ( | bool | value, |
const char * | valueString, | ||
const char * | testName, | ||
const char * | file, | ||
size_t | line, | ||
bool | printDot | ||
) |
Definition at line 154 of file asserts.cpp.
void TestInternal::assertTrue2 | ( | bool | value, |
const char * | valueString, | ||
const char * | testName, | ||
const char * | file, | ||
size_t | line, | ||
const char * | expression1, | ||
const A & | a, | ||
const char * | expression2, | ||
const B & | b, | ||
bool | printDot | ||
) |
void TestInternal::assertTrue2Failed | ( | const char * | valueString, |
const char * | testName, | ||
const char * | file, | ||
size_t | line, | ||
const char * | expression1, | ||
const char * | expression1Value, | ||
const char * | expression2, | ||
const char * | expression2Value | ||
) |
Definition at line 167 of file asserts.cpp.
ostream& TestInternal::operator<< | ( | ostream & | out, |
const vector< T > & | v | ||
) |