1 #ifndef TEST_NMEA_EXCEPTION_HELPER_HPP
2 #define TEST_NMEA_EXCEPTION_HELPER_HPP
4 #define EXPECT_EXCEPTION_STREQ(action, exception_type, s) \
9 FAIL() << "must not be reached"; \
10 } catch (exception_type & e) { \
11 EXPECT_STREQ(s, e.what()); \
13 FAIL() << "unexpected exception caught"; \