Searched refs:SpecialException (Results 1 – 4 of 4) sorted by relevance
/external/catch2/projects/SelfTest/UsageTests/ |
D | Matchers.tests.cpp | 45 struct SpecialException : std::exception { struct 46 SpecialException(int i_) : i(i_) {} in SpecialException() function 60 throw SpecialException{i}; in throws() 69 class ExceptionMatcher : public Catch::MatcherBase<SpecialException> { 74 bool match(SpecialException const &se) const override { in match() 305 CHECK_THROWS_MATCHES(throws(1), SpecialException, ExceptionMatcher{1}); 306 REQUIRE_THROWS_MATCHES(throws(2), SpecialException, ExceptionMatcher{2}); 311 CHECK_THROWS_MATCHES(doesNotThrow(), SpecialException, ExceptionMatcher{1}); 312 REQUIRE_THROWS_MATCHES(doesNotThrow(), SpecialException, ExceptionMatcher{1}); 315 CHECK_THROWS_MATCHES(throwsAsInt(1), SpecialException, ExceptionMatcher{1}); [all …]
|
/external/catch2/projects/SelfTest/Baselines/ |
D | console.std.approved.txt | 399 CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} ) 403 REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} ) 414 CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} ) 419 REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} ) 431 CHECK_THROWS_MATCHES( throws(3), SpecialException, ExceptionMatcher{1} ) 433 SpecialException::what special exception has value of 1 436 REQUIRE_THROWS_MATCHES( throws(4), SpecialException, ExceptionMatcher{1} ) 438 SpecialException::what special exception has value of 1
|
D | compact.sw.approved.txt | 333 …iled: expected exception, got none; expression was: doesNotThrow(), SpecialException, ExceptionMat… 334 …iled: expected exception, got none; expression was: doesNotThrow(), SpecialException, ExceptionMat… 335 … with message: 'Unknown exception'; expression was: throwsAsInt(1), SpecialException, ExceptionMat… 336 … with message: 'Unknown exception'; expression was: throwsAsInt(1), SpecialException, ExceptionMat… 337 …rs.tests.cpp:<line number>: failed: throws(3), SpecialException, ExceptionMatcher{1} for: SpecialE… 338 …rs.tests.cpp:<line number>: failed: throws(4), SpecialException, ExceptionMatcher{1} for: SpecialE… 339 …rs.tests.cpp:<line number>: passed: throws(1), SpecialException, ExceptionMatcher{1} for: SpecialE… 340 …rs.tests.cpp:<line number>: passed: throws(2), SpecialException, ExceptionMatcher{2} for: SpecialE…
|
D | console.sw.approved.txt | 2419 CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} ) 2423 REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{1} ) 2434 CHECK_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} ) 2439 REQUIRE_THROWS_MATCHES( throwsAsInt(1), SpecialException, ExceptionMatcher{1} ) 2451 CHECK_THROWS_MATCHES( throws(3), SpecialException, ExceptionMatcher{1} ) 2453 SpecialException::what special exception has value of 1 2456 REQUIRE_THROWS_MATCHES( throws(4), SpecialException, ExceptionMatcher{1} ) 2458 SpecialException::what special exception has value of 1 2467 CHECK_THROWS_MATCHES( throws(1), SpecialException, ExceptionMatcher{1} ) 2469 SpecialException::what special exception has value of 1 [all …]
|