34 #include <gtest/gtest.h>
38 TEST(Exceptions, direct_code_access)
61 TEST(Exceptions, indirect_code_access)
89 e = std::current_exception();
96 std::rethrow_exception(e);
105 FAIL() <<
"PlannerException caught instead of specific exception";
109 TEST(Exceptions, weird_exception)
123 e = std::current_exception();
129 int main(
int argc,
char **argv)
131 testing::InitGoogleTest(&argc, argv);
132 return RUN_ALL_TESTS();