1 #ifndef PARAM_FILE_TEST_H 2 #define PARAM_FILE_TEST_H 53 {
if (file_.is_open()) file_.close(); }
~ParamFileTest()
Destructor.
std::ifstream & file()
Returns input file by reference.
bool isIoProcessor() const
Should this processor read and write to file?
void closeFile()
Close the input file.
UnitTest is a base class for classes that define unit tests.
A UnitTest with a built-in input file.
virtual void tearDown()
Close the input file.
ParamFileTest()
Constructor.
void openInputFile(const std::string &name, std::ifstream &in) const
Open C++ input file ifstream.
void openFile(const char *fileName)
Open the input file.