setInputFile("-cp", "spc-and-methanol.gro");
// TODO: Consider adding a convenience method for this.
- std::string topFileName = fileManager().getInputFilePath("spc-and-methanol.top");
+ std::string topFileName = gmx::test::TestFileManager::getInputFilePath("spc-and-methanol.top");
std::string modifiableTopFileName = fileManager().getTemporaryFilePath(".top");
gmx_file_copy(topFileName.c_str(), modifiableTopFileName.c_str(), true);
commandLine().addOption("-p", modifiableTopFileName);
// TODO: Consider adding a convenience method for this.
// Copies topology file to where it would be found as an output file, so the copied
// .top file is used as both input and output
- std::string topFileName = fileManager().getInputFilePath("simple.top");
+ std::string topFileName = gmx::test::TestFileManager::getInputFilePath("simple.top");
std::string modifiableTopFileName = fileManager().getTemporaryFilePath("simple.top");
gmx_file_copy(topFileName.c_str(), modifiableTopFileName.c_str(), true);
setOutputFile("-p", "simple.top", ExactTextMatch());