/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2012,2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2016,2017, 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.
"\nYou can use the following GROMACS-specific command-line flags\n"
"to control the behavior of the tests:\n\n");
TextWriter writer(&TextOutputFile::standardError());
- CommandLineHelpContext context(&writer, eHelpOutputFormat_Console, NULL, program);
+ CommandLineHelpContext context(&writer, eHelpOutputFormat_Console, nullptr, program);
context.setModuleDisplayName(program);
CommandLineHelpWriter(options).writeHelp(context);
}
setProgramContext(g_testContext.get());
// Use the default finder that does not respect GMXLIB, since the tests
// generally can only get confused by a different set of data files.
- setLibraryFileFinder(NULL);
+ setLibraryFileFinder(nullptr);
::testing::InitGoogleMock(argc, *argv);
- if (dataPath != NULL)
+ if (dataPath != nullptr)
{
TestFileManager::setInputDataDirectory(
Path::join(CMAKE_SOURCE_DIR, dataPath));
}
- if (tempPath != NULL)
+ if (tempPath != nullptr)
{
TestFileManager::setGlobalOutputTempDirectory(tempPath);
}
void finalizeTestUtils()
{
- setProgramContext(NULL);
+ setProgramContext(nullptr);
g_testContext.reset();
finalizeForCommandLine();
}