Gromacs
5.1.5
|
#include <programs/mdrun/tests/moduletest.h>
Declares test fixture class for integration tests of mdrun functionality that use a single call of mdrun.
Any method in this class may throw std::bad_alloc if out of memory.
Public Attributes | |
SimulationRunner | runner_ |
Helper object to manage the preparation for and call of mdrun. | |
::gmx::test::TestFileManager | fileManager_ |
Object that manages finding input files, writing temporary output files and cleaning up files. | |
Protected Member Functions | |
void | redirectStringToStdin (const char *theString) |
Accepts a string as input, writes it to a temporary file and then reopens stdin to read the contents of that string. More... | |
void | redirectStdoutToDevNull () |
Discards stdout while running a test. More... | |
void | redirectStderrToDevNull () |
Discards stderr while running a test. More... | |
|
protectedinherited |
Discards stderr while running a test.
|
protectedinherited |
Discards stdout while running a test.
|
protectedinherited |
Accepts a string as input, writes it to a temporary file and then reopens stdin to read the contents of that string.
FileIOError | when the freopen() fails |