26 #ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_ENABLEGMOCK_H_ 27 #define ELEMENTSKERNEL_ELEMENTSKERNEL_ENABLEGMOCK_H_ 29 #include <gmock/gmock.h> 30 #include <boost/test/unit_test.hpp> 31 #include <boost/version.hpp> 38 if (testPartResult.failed()) {
39 BOOST_ERROR(testPartResult.summary());
50 testing::InitGoogleMock(
51 &boost::unit_test::framework::master_test_suite().argc,
52 boost::unit_test::framework::master_test_suite().argv);
53 auto& listeners = testing::UnitTest::GetInstance()->listeners();
54 delete listeners.Release(listeners.default_result_printer());
60 #if BOOST_VERSION >= 105900 66 #endif // ELEMENTSKERNEL_ELEMENTSKERNEL_ENABLEGMOCK_H_
defines the macros to be used for explicit export of the symbols
void OnTestPartResult(const testing::TestPartResult &testPartResult) override