Renamed last usge specific handle method (and made the low level ones private)

This commit is contained in:
Phil Nash
2017-11-27 06:53:56 +00:00
parent e344984a1b
commit 5461242ffe
3 changed files with 7 additions and 8 deletions

View File

@@ -54,9 +54,7 @@ namespace Catch {
}
void handleExpr( ITransientExpression const& expr );
void handle( ResultWas::OfType resultType, StringRef const& message );
void handle( ResultWas::OfType resultType, ITransientExpression const* expr, bool negated );
void handle( AssertionResultData const& resultData, ITransientExpression const* expr );
void handleMessage(ResultWas::OfType resultType, StringRef const &message);
void handleExceptionThrownAsExpected();
void handleUnexpectedExceptionNotThrown();
@@ -72,6 +70,8 @@ namespace Catch {
private:
void handle( ResultWas::OfType resultType );
void handle( ResultWas::OfType resultType, ITransientExpression const* expr, bool negated );
void handle( AssertionResultData const& resultData, ITransientExpression const* expr );
};
void handleExceptionMatchExpr( AssertionHandler& handler, std::string const& str, StringRef matcherString );