Sort includes outside src/gromacs
[alexxy/gromacs.git] / src / programs / mdrun / tests / moduletest.h
index bdbb661b789d01ac23c24e13507ac0c0438784c9..3e9a7d0b2f142fa376871f2d70b67b6dbbbadf2e 100644 (file)
@@ -32,7 +32,8 @@
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
-/*! \defgroup module_mdrun_integration_tests Integration test utilities
+/*! \libinternal
+ * \defgroup module_mdrun_integration_tests Integration test utilities
  * \ingroup group_mdrun
  *
  * \brief Functionality for testing mdrun as a whole
 #ifndef GMX_MDRUN_TESTS_MODULETEST_H
 #define GMX_MDRUN_TESTS_MODULETEST_H
 
-#include "testutils/integrationtests.h"
-
 #include <gtest/gtest.h>
+
 #include "testutils/cmdlinetest.h"
+#include "testutils/integrationtests.h"
 
 namespace gmx
 {
@@ -89,15 +90,15 @@ class MdrunTestFixture : public IntegrationTestFixture
 
         //! Use an empty .mdp file as input to grompp
         void useEmptyMdpFile();
-        //! Use a string as -f input to grompp
+        //! Use a given string as input to grompp
         void useStringAsMdpFile(const char *mdpString);
-        //! Use a string as -f input to grompp
+        //! Use a given string as input to grompp
         void useStringAsMdpFile(const std::string &mdpString);
         //! Use a string as -n input to grompp
         void useStringAsNdxFile(const char *ndxString);
         //! Use a standard .top and .gro file as input to grompp
         void useTopGroAndNdxFromDatabase(const char *name);
-        //! Calls grompp to prepare for the mdrun test
+        //! Calls grompp (on rank 0) to prepare for the mdrun test
         int callGrompp();
         //! Calls grompp (on this rank) to prepare for the mdrun test
         int callGromppOnThisRank();
@@ -135,6 +136,14 @@ class MdrunTestFixture : public IntegrationTestFixture
         //@}
 };
 
+/*! \libinternal \brief
+ * Parameterized test fixture for mdrun integration tests
+ */
+class ParameterizedMdrunTestFixture : public gmx::test::MdrunTestFixture,
+                                      public ::testing::WithParamInterface<const char *>
+{
+};
+
 } // namespace test
 } // namespace gmx