MCPcopy Create free account
hub / github.com/cirquit/trdrop / captureExpectedException

Method captureExpectedException

ext/catch.hpp:8867–8872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8865 }
8866
8867 void ResultBuilder::captureExpectedException( std::string const& expectedMessage ) {
8868 if( expectedMessage.empty() )
8869 captureExpectedException( Matchers::Impl::MatchAllOf<std::string>() );
8870 else
8871 captureExpectedException( Matchers::Equals( expectedMessage ) );
8872 }
8873
8874 void ResultBuilder::captureExpectedException( Matchers::Impl::MatcherBase<std::string> const& matcher ) {
8875

Callers

nothing calls this directly

Calls 5

isFalseTestFunction · 0.85
translateActiveExceptionFunction · 0.85
emptyMethod · 0.80
EqualsFunction · 0.70
matchMethod · 0.45

Tested by

no test coverage detected