|
PSCF v1.3.3
|
Additional Inherited Members | |
| Public Member Functions inherited from UnitTest | |
| UnitTest () | |
| Constructor. | |
| virtual | ~UnitTest () |
| Destructor. | |
| virtual void | setUp () |
| Set up before each test method (empty default implementation). | |
| virtual void | tearDown () |
| Tear down after each test method (empty default implementation). | |
| void | setVerbose (int verbose) |
| Set verbosity level. | |
| void | setFilePrefix (const std::string &prefix) |
| Set file prefix. | |
| const std::string & | filePrefix () |
| Get file prefix string. | |
| bool | isIoProcessor () const |
| Should this processor read and write to file? | |
| Protected Member Functions inherited from UnitTest | |
| void | printMethod (const char *methodName) |
| Write name of a class method, iff ioProcessor. | |
| void | printEndl () |
| Write carriage return, iff isIoProcessor. | |
| virtual void | endMarker () |
| Print a line of hashes, iff isIoProcessor. | |
| void | openInputFile (const std::string &name, std::ifstream &in) const |
| Open C++ input file ifstream. | |
| void | openOutputFile (const std::string &name, std::ofstream &out) const |
| Open C++ output file ofstream. | |
| FILE * | openFile (const std::string &name, const char *mode) const |
| Open C file handle with specified mode. | |
| int | verbose () const |
| Return integer verbosity level (0 == silent). | |
| Static Protected Member Functions inherited from UnitTest | |
| static bool | eq (int s1, int s2) |
| Return true if two integers are equal. | |
| static bool | eq (double s1, double s2) |
| Return true if two double precision floats are equal. | |
Trivial UnitTest B.
Definition at line 60 of file example2.cpp.