MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / CmpHelperSTREQ

Function CmpHelperSTREQ

tests/gtest/gtest-all.cc:3363–3376  ·  view source on GitHub ↗

Helper function for *_STREQ on wide strings.

Source from the content-addressed store, hash-verified

3361
3362// Helper function for *_STREQ on wide strings.
3363AssertionResult CmpHelperSTREQ(const char* lhs_expression,
3364 const char* rhs_expression,
3365 const wchar_t* lhs,
3366 const wchar_t* rhs) {
3367 if (String::WideCStringEquals(lhs, rhs)) {
3368 return AssertionSuccess();
3369 }
3370
3371 return EqFailure(lhs_expression,
3372 rhs_expression,
3373 PrintToString(lhs),
3374 PrintToString(rhs),
3375 false);
3376}
3377
3378// Helper function for *_STRNE on wide strings.
3379AssertionResult CmpHelperSTRNE(const char* s1_expression,

Callers 1

gtest-all.ccFile · 0.85

Calls 2

AssertionSuccessFunction · 0.85
EqFailureFunction · 0.85

Tested by

no test coverage detected