Home
last modified time | relevance | path

Searched refs:SpecialException (Results 1 – 4 of 4) sorted by relevance

/external/catch2/projects/SelfTest/UsageTests/
DMatchers.tests.cpp45 struct SpecialException : std::exception { struct
46 SpecialException(int i_) : i(i_) {} in SpecialException() function
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});
[all …]
/external/catch2/projects/SelfTest/Baselines/
Dconsole.std.approved.txt491 CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} )
495 REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} )
506 CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} )
511 REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} )
523 CHECK_THROWS_MATCHES( throwsSpecialException(3), SpecialException, ExceptionMatcher{1} )
525 SpecialException::what special exception has value of 1
528 REQUIRE_THROWS_MATCHES( throwsSpecialException(4), SpecialException, ExceptionMatcher{1} )
530 SpecialException::what special exception has value of 1
Dcompact.sw.approved.txt386 …iled: expected exception, got none; expression was: doesNotThrow(), SpecialException, ExceptionMat…
387 …iled: expected exception, got none; expression was: doesNotThrow(), SpecialException, ExceptionMat…
388 … with message: 'Unknown exception'; expression was: throwsAsInt(1), SpecialException, ExceptionMat…
389 … with message: 'Unknown exception'; expression was: throwsAsInt(1), SpecialException, ExceptionMat…
390 …ne number>: failed: throwsSpecialException(3), SpecialException, ExceptionMatcher{1} for: SpecialE…
391 …ne number>: failed: throwsSpecialException(4), SpecialException, ExceptionMatcher{1} for: SpecialE…
392 …ne number>: passed: throwsSpecialException(1), SpecialException, ExceptionMatcher{1} for: SpecialE…
393 …ne number>: passed: throwsSpecialException(2), SpecialException, ExceptionMatcher{2} for: SpecialE…
402 …r>: passed: throwsSpecialException(2), SpecialException, !Message("DerivedException::what") for: S…
403 …lException(2), SpecialException, Message("SpecialException::what") for: SpecialException::what exc…
Dconsole.sw.approved.txt2919 CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} )
2923 REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} )
2934 CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} )
2939 REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} )
2951 CHECK_THROWS_MATCHES( throwsSpecialException(3), SpecialException, ExceptionMatcher{1} )
2953 SpecialException::what special exception has value of 1
2956 REQUIRE_THROWS_MATCHES( throwsSpecialException(4), SpecialException, ExceptionMatcher{1} )
2958 SpecialException::what special exception has value of 1
2967 CHECK_THROWS_MATCHES( throwsSpecialException(1), SpecialException, ExceptionMatcher{1} )
2969 SpecialException::what special exception has value of 1
[all …]