/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2016, by the GROMACS development team, led by
+ * Copyright (c) 2016,2018, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
{
//! Format string for building a configurable .top file
-const char *g_butaneTopFileFormatString = "\
+static const char *g_butaneTopFileFormatString = "\
[ defaults ]\n\
; nbfunc comb-rule gen-pairs fudgeLJ fudgeQQ\n\
1 1 no 1.0 1.0\n\
{
runner_.topFileName_ = fileManager_.getTemporaryFilePath("butane1.top");
TextWriter::writeFileFromString(runner_.topFileName_, formatString(g_butaneTopFileFormatString, interaction));
- runner_.groFileName_ = fileManager_.getInputFilePath("butane1.gro");
- runner_.ndxFileName_ = fileManager_.getInputFilePath("butane1.ndx");
+ runner_.groFileName_ = gmx::test::TestFileManager::getInputFilePath("butane1.gro");
+ runner_.ndxFileName_ = gmx::test::TestFileManager::getInputFilePath("butane1.ndx");
/* TODO Now that Verlet is the default, change the implementation
of useEmptyMdpFile() to do that. */
runner_.useStringAsMdpFile("");
EXPECT_EQ(0, runner_.callGrompp());
test::CommandLine rerunCaller = setupMdrun();
- std::string tableFileName = fileManager_.getInputFilePath("butane_b0.xvg");
+ std::string tableFileName = gmx::test::TestFileManager::getInputFilePath("butane_b0.xvg");
rerunCaller.addOption("-tableb", tableFileName);
ASSERT_EQ(0, runner_.callMdrun(rerunCaller));
checkMdrun();
EXPECT_EQ(0, runner_.callGrompp());
test::CommandLine rerunCaller = setupMdrun();
- std::string tableFileName = fileManager_.getInputFilePath("butane_a0.xvg");
+ std::string tableFileName = gmx::test::TestFileManager::getInputFilePath("butane_a0.xvg");
rerunCaller.addOption("-tableb", tableFileName);
ASSERT_EQ(0, runner_.callMdrun(rerunCaller));
checkMdrun();
EXPECT_EQ(0, runner_.callGrompp());
test::CommandLine rerunCaller = setupMdrun();
- std::string tableFileName = fileManager_.getInputFilePath("butane_d0.xvg");
+ std::string tableFileName = gmx::test::TestFileManager::getInputFilePath("butane_d0.xvg");
rerunCaller.addOption("-tableb", tableFileName);
ASSERT_EQ(0, runner_.callMdrun(rerunCaller));
checkMdrun();