From 093c285475678c82b327836d9444faf7338c5af6 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 16 Jun 2020 06:37:35 -0400 Subject: [PATCH] use GMock initializer instead of GTest --- unittest/force-styles/test_main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unittest/force-styles/test_main.cpp b/unittest/force-styles/test_main.cpp index fc59163a60..6c4973dfe7 100644 --- a/unittest/force-styles/test_main.cpp +++ b/unittest/force-styles/test_main.cpp @@ -14,6 +14,7 @@ #include "test_main.h" #include "test_config.h" #include "test_config_reader.h" +#include "gmock/gmock.h" #include "gtest/gtest.h" #include @@ -63,7 +64,7 @@ std::string INPUT_FOLDER = STRINGIFY(TEST_INPUT_FOLDER); int main(int argc, char **argv) { MPI_Init(&argc, &argv); - ::testing::InitGoogleTest(&argc, argv); + ::testing::InitGoogleMock(&argc, argv); if (argc < 2) { usage(std::cerr, argv[0]);