int ret = -1;
try {
testing::InitGoogleTest(&argc, argv);
- } catch(...) {
- std::cout << "Exception occurred" << std::endl;
+ } catch(...) {/* LCOV_EXCL_LINE */
+ std::cout << "Exception occurred" << std::endl;/* LCOV_EXCL_LINE */
}
try {
ret = RUN_ALL_TESTS();
- } catch (const ::testing::internal::GoogleTestFailureException& e) {
- ret = -1;
- std::cout << "GoogleTestFailureException was thrown:" << e.what()
- << std::endl;
+ } catch (const ::testing::internal::GoogleTestFailureException& e) {/* LCOV_EXCL_LINE */
+ ret = -1;/* LCOV_EXCL_LINE */
+ std::cout << "GoogleTestFailureException was thrown:" << e.what()/* LCOV_EXCL_LINE */
+ << std::endl;/* LCOV_EXCL_LINE */
}
return ret;