Unverified Commit 093c2854 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

use GMock initializer instead of GTest

parent 436c7615
Loading
Loading
Loading
Loading
+2 −1
Changes for unittest/force-styles/test_main.cpp: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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 <cstring>
@@ -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]);