MCPcopy Create free account
hub / github.com/apache/thrift / captureExpectedException

Method captureExpectedException

compiler/cpp/tests/catch/catch.hpp:9056–9061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9054 }
9055
9056 void ResultBuilder::captureExpectedException( std::string const& expectedMessage ) {
9057 if( expectedMessage.empty() )
9058 captureExpectedException( Matchers::Impl::MatchAllOf<std::string>() );
9059 else
9060 captureExpectedException( Matchers::Equals( expectedMessage ) );
9061 }
9062
9063 void ResultBuilder::captureExpectedException( Matchers::Impl::MatcherBase<std::string> const& matcher ) {
9064

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