26 #ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_ENABLEGMOCK_H_
27 #define ELEMENTSKERNEL_ELEMENTSKERNEL_ENABLEGMOCK_H_
29 #include <boost/test/unit_test.hpp>
30 #include <boost/version.hpp>
31 #include <gmock/gmock.h>
38 if (testPartResult.failed()) {
39 BOOST_ERROR(testPartResult.summary());
48 testing::InitGoogleMock(&boost::unit_test::framework::master_test_suite().argc,
49 boost::unit_test::framework::master_test_suite().argv);
50 auto& listeners = testing::UnitTest::GetInstance()->listeners();
51 delete listeners.Release(listeners.default_result_printer());
56 #if BOOST_VERSION >= 105900
62 #endif // ELEMENTSKERNEL_ELEMENTSKERNEL_ENABLEGMOCK_H_