biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove gmx::File (except for File::exists())
[alexxy/gromacs.git]
/
src
/
gromacs
/
commandline
/
tests
/
cmdlinehelpmodule.cpp
diff --git
a/src/gromacs/commandline/tests/cmdlinehelpmodule.cpp
b/src/gromacs/commandline/tests/cmdlinehelpmodule.cpp
index 7be3fb5ed7e738c8b02d5605beeaca477390a70d..5fada52c35de53dd3fec1d0fd73e1095e89bb9fe 100644
(file)
--- a/
src/gromacs/commandline/tests/cmdlinehelpmodule.cpp
+++ b/
src/gromacs/commandline/tests/cmdlinehelpmodule.cpp
@@
-48,7
+48,7
@@
#include "gromacs/commandline/cmdlinemodulemanager.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/options.h"
#include "gromacs/commandline/cmdlinemodulemanager.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/options.h"
-#include "gromacs/utility/
file
.h"
+#include "gromacs/utility/
textwriter
.h"
#include "gromacs/onlinehelp/tests/mock_helptopic.h"
#include "testutils/cmdlinetest.h"
#include "gromacs/onlinehelp/tests/mock_helptopic.h"
#include "testutils/cmdlinetest.h"
@@
-123,7
+123,7
@@
TEST_F(CommandLineHelpModuleTest, ExportsHelp)
"test", "help", "-export", "rst"
};
// TODO: Find a more elegant solution, or get rid of the links.dat altogether.
"test", "help", "-export", "rst"
};
// TODO: Find a more elegant solution, or get rid of the links.dat altogether.
- gmx::
File
::writeFileFromString("links.dat", "");
+ gmx::
TextWriter
::writeFileFromString("links.dat", "");
CommandLine args(cmdline);
initManager(args, "test");
MockOptionsModule &mod1 = addOptionsModule("module", "First module");
CommandLine args(cmdline);
initManager(args, "test");
MockOptionsModule &mod1 = addOptionsModule("module", "First module");