diff options
Diffstat (limited to 'src/components/security_manager/test/security_query_matcher.cc')
-rw-r--r-- | src/components/security_manager/test/security_query_matcher.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/components/security_manager/test/security_query_matcher.cc b/src/components/security_manager/test/security_query_matcher.cc index 9f6bc370e7..3b7f4dd298 100644 --- a/src/components/security_manager/test/security_query_matcher.cc +++ b/src/components/security_manager/test/security_query_matcher.cc @@ -44,7 +44,8 @@ namespace security_manager_test { * Matcher for checking RawMessage with InternalError Query * Check error id */ -MATCHER_P(InternalErrorWithErrId, expectedErrorId, +MATCHER_P(InternalErrorWithErrId, + expectedErrorId, std::string(negation ? "is not" : "is") + " InternalError with selected error") { const size_t header_size = @@ -93,12 +94,14 @@ MATCHER_P(InternalErrorWithErrId, expectedErrorId, * Matcher for checking QueryHeader equal in GTests */ ::testing::AssertionResult QueryHeader_EQ( - const char* m_expr, const char* n_expr, + const char* m_expr, + const char* n_expr, const ::security_manager::SecurityQuery::QueryHeader& q1, const ::security_manager::SecurityQuery::QueryHeader& q2); ::testing::AssertionResult QueryHeader_EQ( - const char* m_expr, const char* n_expr, + const char* m_expr, + const char* n_expr, const ::security_manager::SecurityQuery::QueryHeader& q1, const ::security_manager::SecurityQuery::QueryHeader& q2) { ::testing::AssertionResult fail_result = ::testing::AssertionFailure(); |