Searched refs:expected_exception (Results 1 – 1 of 1) sorted by relevance
135 #define ATF_REQUIRE_THROW(expected_exception, statement) \ argument141 << ": " #statement " did not throw " #expected_exception \144 } catch (const expected_exception&) { \148 "unexpected error (not " #expected_exception "): " \154 "unexpected error (not " #expected_exception ")"; \159 #define ATF_REQUIRE_THROW_RE(expected_exception, regexp, statement) \ argument165 << ": " #statement " did not throw " #expected_exception \168 } catch (const expected_exception& e) { \172 << ": " #statement " threw " #expected_exception "(" \180 "unexpected error (not " #expected_exception "): " \[all …]