Resolve one TODO for command line help tests
commit0b8ea39f7c607708c71a08084b8591f54c5a84e7
authorTeemu Murtola <teemu.murtola@gmail.com>
Wed, 3 Jun 2015 19:17:20 +0000 (3 22:17 +0300)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 9 Jun 2015 04:41:28 +0000 (9 06:41 +0200)
treea4278bc4cee759c6f7957cac573f6dae1c12d096
parent3d2aece877a87a8ec06c8dd37b19aaa88a8a43a7
Resolve one TODO for command line help tests

Make [PROGRAM] replacement respect the binary name passed to
CommandLineModuleManager, giving the tests full control over the help
output.

There are complications making this work nicely in the selection help
(requires some effort in propagating the information), so change the
wording there for now to avoid this tag.  Can be revisited at a later
time if/when the help writing context is more uniform for different
cases that can trigger the selection help ('gmx help ...' vs. 'help ...'
in the selection prompt).

Change-Id: I93e7dd8279d3730d38122c212174e533420859b9
src/gromacs/commandline/cmdlinehelpcontext.cpp
src/gromacs/commandline/cmdlinehelpcontext.h
src/gromacs/commandline/cmdlinehelpmodule.cpp
src/gromacs/commandline/tests/cmdlinehelpwriter.cpp
src/gromacs/commandline/tests/refdata/CommandLineHelpModuleTest_ExportsHelp.xml
src/gromacs/commandline/tests/refdata/CommandLineHelpModuleTest_PrintsGeneralHelp.xml
src/gromacs/onlinehelp/helpwritercontext.cpp
src/gromacs/selection/selhelp.cpp
src/testutils/testinit.cpp