Lines Matching refs:SpecialException
45 struct SpecialException : std::exception { struct
46 SpecialException(int i_) : i(i_) {} in SpecialException() argument
66 throw SpecialException{i}; in throwsSpecialException()
80 class ExceptionMatcher : public Catch::MatcherBase<SpecialException> {
85 bool match(SpecialException const &se) const override { in match()
336 CHECK_THROWS_MATCHES(throwsSpecialException(1), SpecialException, ExceptionMatcher{1});
337 … REQUIRE_THROWS_MATCHES(throwsSpecialException(2), SpecialException, ExceptionMatcher{2});
342 CHECK_THROWS_MATCHES(doesNotThrow(), SpecialException, ExceptionMatcher{1});
343 REQUIRE_THROWS_MATCHES(doesNotThrow(), SpecialException, ExceptionMatcher{1});
346 CHECK_THROWS_MATCHES(throwsAsInt(1), SpecialException, ExceptionMatcher{1});
347 REQUIRE_THROWS_MATCHES(throwsAsInt(1), SpecialException, ExceptionMatcher{1});
350 … CHECK_THROWS_MATCHES(throwsSpecialException(3), SpecialException, ExceptionMatcher{1});
351 … REQUIRE_THROWS_MATCHES(throwsSpecialException(4), SpecialException, ExceptionMatcher{1});
557 …REQUIRE_THROWS_MATCHES(throwsSpecialException(2), SpecialException, !Message("DerivedException::wh…
558 …REQUIRE_THROWS_MATCHES(throwsSpecialException(2), SpecialException, Message("SpecialException::wh…