Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / trajectoryanalysis / tests / angle.cpp
index 813435370e1d4e317fba90b706bca1f510b4c599..94701813fb08dd994ced5de2174cef7c121a2787 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014, 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.
  * \author Teemu Murtola <teemu.murtola@gmail.com>
  * \ingroup module_trajectoryanalysis
  */
-#include <gtest/gtest.h>
+#include "gmxpre.h"
 
 #include "gromacs/trajectoryanalysis/modules/angle.h"
 
+#include <gtest/gtest.h>
+
 #include "testutils/cmdlinetest.h"
 
 #include "moduletest.h"
@@ -68,7 +70,7 @@ TEST_F(AngleModuleTest, ComputesSimpleAngles)
         "-binw", "60"
     };
     setTopology("angle.gro");
-    runTest(CommandLine::create(cmdline));
+    runTest(CommandLine(cmdline));
 }
 
 TEST_F(AngleModuleTest, ComputesDihedrals)
@@ -79,7 +81,7 @@ TEST_F(AngleModuleTest, ComputesDihedrals)
         "-binw", "120"
     };
     setTopology("angle.gro");
-    runTest(CommandLine::create(cmdline));
+    runTest(CommandLine(cmdline));
 }
 
 TEST_F(AngleModuleTest, ComputesVectorPairAngles)
@@ -91,7 +93,7 @@ TEST_F(AngleModuleTest, ComputesVectorPairAngles)
         "-binw", "60"
     };
     setTopology("angle.gro");
-    runTest(CommandLine::create(cmdline));
+    runTest(CommandLine(cmdline));
 }
 
 TEST_F(AngleModuleTest, ComputesVectorPlanePairAngles)
@@ -103,7 +105,7 @@ TEST_F(AngleModuleTest, ComputesVectorPlanePairAngles)
         "-binw", "60"
     };
     setTopology("angle.gro");
-    runTest(CommandLine::create(cmdline));
+    runTest(CommandLine(cmdline));
 }
 
 TEST_F(AngleModuleTest, ComputesPlaneZAxisAngles)
@@ -115,7 +117,7 @@ TEST_F(AngleModuleTest, ComputesPlaneZAxisAngles)
         "-binw", "60"
     };
     setTopology("angle.gro");
-    runTest(CommandLine::create(cmdline));
+    runTest(CommandLine(cmdline));
 }
 
 TEST_F(AngleModuleTest, ComputesVectorSphereNormalZAxisAngles)
@@ -127,7 +129,7 @@ TEST_F(AngleModuleTest, ComputesVectorSphereNormalZAxisAngles)
         "-binw", "60"
     };
     setTopology("angle.gro");
-    runTest(CommandLine::create(cmdline));
+    runTest(CommandLine(cmdline));
 }
 
 TEST_F(AngleModuleTest, ComputesVectorTimeZeroAngles)
@@ -140,7 +142,7 @@ TEST_F(AngleModuleTest, ComputesVectorTimeZeroAngles)
     };
     setTopology("angle.gro");
     setTrajectory("angle.gro");
-    runTest(CommandLine::create(cmdline));
+    runTest(CommandLine(cmdline));
 }
 
 TEST_F(AngleModuleTest, ComputesMultipleAngles)
@@ -158,7 +160,7 @@ TEST_F(AngleModuleTest, ComputesMultipleAngles)
         "-binw", "60"
     };
     setTopology("angle.gro");
-    runTest(CommandLine::create(cmdline));
+    runTest(CommandLine(cmdline));
 }
 
 TEST_F(AngleModuleTest, HandlesDynamicSelections)
@@ -169,7 +171,7 @@ TEST_F(AngleModuleTest, HandlesDynamicSelections)
         "-binw", "60"
     };
     setTopology("angle.gro");
-    runTest(CommandLine::create(cmdline));
+    runTest(CommandLine(cmdline));
 }
 
 TEST_F(AngleModuleTest, HandlesOneVsMultipleVectorAngles)
@@ -181,7 +183,7 @@ TEST_F(AngleModuleTest, HandlesOneVsMultipleVectorAngles)
         "-binw", "60"
     };
     setTopology("angle.gro");
-    runTest(CommandLine::create(cmdline));
+    runTest(CommandLine(cmdline));
 }
 
 TEST_F(AngleModuleTest, HandlesOneVsMultipleVectorGroupsAngles)
@@ -198,7 +200,7 @@ TEST_F(AngleModuleTest, HandlesOneVsMultipleVectorGroupsAngles)
         "-binw", "60"
     };
     setTopology("angle.gro");
-    runTest(CommandLine::create(cmdline));
+    runTest(CommandLine(cmdline));
 }
 
 } // namespace