* \author Teemu Murtola <teemu.murtola@gmail.com>
* \ingroup module_testutils
*/
+#include "gmxpre.h"
+
#include "cmdlinetest.h"
#include <cstdlib>
#include <cstring>
-#include <sstream>
#include <new>
+#include <sstream>
#include <vector>
+#include "gromacs/commandline/cmdlineprogramcontext.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/gmxassert.h"
-#include "gromacs/utility/programinfo.h"
namespace gmx
{
std::string CommandLine::toString() const
{
- return ProgramInfo(argc(), argv()).commandLine();
+ return CommandLineProgramContext(argc(), argv()).commandLine();
}
} // namespace test