TestItem Class Reference
#include <TestItem.hpp>
List of all members.
Public Member Functions |
| TestItem (const char *itemName) |
| ~TestItem () |
void | passItem () |
void | failItem (const char *_fileName, const int lineNum) |
void | expectNonZero (const char *_fileName, const int lineNum, const int val) |
void | expectFalse (const char *_fileName, const int lineNum, const bool val) |
void | expectTrue (const char *_fileName, const int lineNum, const bool val) |
void | expectZero (const char *_fileName, const int lineNum, const int val) |
void | sameString (const char *fileName, const int lineNum, const char *string1, const char *string2) |
bool | passed () |
Static Public Member Functions |
static void | setBed (TestBed *aBed) |
Private Member Functions |
int | compare (const TestItem &otherItem) const |
Private Attributes |
char * | name |
bool | success |
bool | isSet |
char * | fileName |
int | lineNumber |
Static Private Attributes |
static TestBed * | theBed |
Friends |
std::ostream & | operator<< (std::ostream &os, const TestItem &item) |
bool | operator< (const TestItem &item1, const TestItem &item2) |
bool | operator> (const TestItem &item1, const TestItem &item2) |
bool | operator<= (const TestItem &item1, const TestItem &item2) |
bool | operator>= (const TestItem &item1, const TestItem &item2) |
bool | operator== (const TestItem &item1, const TestItem &item2) |
bool | operator!= (const TestItem &item1, const TestItem &item2) |
Detailed Description
Definition at line 12 of file TestItem.hpp.
Constructor & Destructor Documentation
TestItem::TestItem |
( |
const char * |
itemName |
) |
|
Member Function Documentation
int TestItem::compare |
( |
const TestItem & |
otherItem |
) |
const [private] |
static void TestItem::setBed |
( |
TestBed * |
aBed |
) |
[inline, static] |
void TestItem::passItem |
( |
|
) |
[inline] |
void TestItem::failItem |
( |
const char * |
_fileName, |
|
|
const int |
lineNum | |
|
) |
| | |
void TestItem::expectNonZero |
( |
const char * |
_fileName, |
|
|
const int |
lineNum, |
|
|
const int |
val | |
|
) |
| | |
void TestItem::expectFalse |
( |
const char * |
_fileName, |
|
|
const int |
lineNum, |
|
|
const bool |
val | |
|
) |
| | |
void TestItem::expectTrue |
( |
const char * |
_fileName, |
|
|
const int |
lineNum, |
|
|
const bool |
val | |
|
) |
| | |
void TestItem::expectZero |
( |
const char * |
_fileName, |
|
|
const int |
lineNum, |
|
|
const int |
val | |
|
) |
| | |
void TestItem::sameString |
( |
const char * |
fileName, |
|
|
const int |
lineNum, |
|
|
const char * |
string1, |
|
|
const char * |
string2 | |
|
) |
| | |
bool TestItem::passed |
( |
|
) |
[inline] |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const TestItem & |
item | |
|
) |
| | [friend] |
Member Data Documentation
The documentation for this class was generated from the following file:
- /home/coin/svn-release/OptimizationSuite-1.1.0/FlopCpp/unittest/TestItem.hpp