1 #include "gmock/gmock.h"
4 main(int argc, char **argv)
6 auto AllTestSuccess = false;
9 ::testing::InitGoogleMock(&argc, argv);
10 ::testing::FLAGS_gtest_death_test_style = "fast";
12 std::cout << "error while trying to init google tests.\n";
17 AllTestSuccess = RUN_ALL_TESTS() == 0 ? true : false;
18 } catch (const ::testing::internal::GoogleTestFailureException &e) {
19 AllTestSuccess = false;
20 std::cout << "GoogleTestFailureException was thrown:" << e.what()
25 return AllTestSuccess;