MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / CmpHelperSTREQ

Function CmpHelperSTREQ

rtpose_wrapper/src/gtest/gtest-all.cpp:2863–2876  ·  view source on GitHub ↗

Helper function for *_STREQ on wide strings.

Source from the content-addressed store, hash-verified

2861
2862// Helper function for *_STREQ on wide strings.
2863AssertionResult CmpHelperSTREQ(const char* expected_expression,
2864 const char* actual_expression,
2865 const wchar_t* expected,
2866 const wchar_t* actual) {
2867 if (String::WideCStringEquals(expected, actual)) {
2868 return AssertionSuccess();
2869 }
2870
2871 return EqFailure(expected_expression,
2872 actual_expression,
2873 String::ShowWideCStringQuoted(expected),
2874 String::ShowWideCStringQuoted(actual),
2875 false);
2876}
2877
2878// Helper function for *_STRNE on wide strings.
2879AssertionResult CmpHelperSTRNE(const char* s1_expression,

Callers 1

gtest-all.cppFile · 0.85

Calls 2

AssertionSuccessFunction · 0.85
EqFailureFunction · 0.85

Tested by

no test coverage detected