Gromacs
5.1
|
#include <testutils/integrationtests.h>
Test fixture for integration tests.
Any method in this class may throw std::bad_alloc if out of memory.
Public Attributes | |
::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... | |
|
protected |
Discards stderr while running a test.
|
protected |
Discards stdout while running a test.
|
protected |
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 |