projects
/
platform
/
core
/
appfw
/
screen-connector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d7baea
)
Add exception handling logic
17/172317/1
author
hyunho
<hhstark.kang@samsung.com>
Tue, 13 Mar 2018 07:37:17 +0000
(16:37 +0900)
committer
hyunho
<hhstark.kang@samsung.com>
Tue, 13 Mar 2018 07:37:17 +0000
(16:37 +0900)
Change-Id: I48b9b75612afb9d8109f33f22646d3bb354e52fd
Signed-off-by: hyunho <hhstark.kang@samsung.com>
unittest/src/sc_test_main.cpp
patch
|
blob
|
history
diff --git
a/unittest/src/sc_test_main.cpp
b/unittest/src/sc_test_main.cpp
index
6efbf98
..
14fe324
100644
(file)
--- a/
unittest/src/sc_test_main.cpp
+++ b/
unittest/src/sc_test_main.cpp
@@
-2,6
+2,10
@@
#include <gmock/gmock.h>
int main(int argc, char** argv){
- testing::InitGoogleTest(&argc, argv);
+ try {
+ testing::InitGoogleTest(&argc, argv);
+ } catch(...) {
+ std::cout << "Exception occurred" << std::endl;
+ }
return RUN_ALL_TESTS();
}