Normalize API tests.
[alexxy/gromacs.git] / api / gmxapi / cpp / tests / status.cpp
similarity index 94%
rename from src/api/cpp/tests/status.cpp
rename to api/gmxapi/cpp/tests/status.cpp
index 7b505abe68cc2c6770be66c66fc5b36e7cc65514..2a389e770514d4ed7e53b3e8fc4645020beb9020 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2018, by the GROMACS development team, led by
+ * Copyright (c) 2018,2021, 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.
@@ -34,8 +34,7 @@
  */
 
 #include "gmxapi/status.h"
-
-#include <gtest/gtest.h>
+#include "testingconfiguration.h"
 
 namespace gmxapi
 {
@@ -48,7 +47,7 @@ namespace
 /*!
  * \brief Test construction and conversion of boolean success status.
  */
-TEST(GmxApiBasicTest, Status)
+TEST_F(GmxApiTest, Status)
 {
     {
         auto status = gmxapi::Status();