Change unittest package name and improves code coverage
[platform/core/appfw/appcore-widget.git] / test / unit_tests / main.cc
index 5f340cd..d945e33 100644 (file)
@@ -9,16 +9,16 @@ int main(int argc, char** argv) {
   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;