MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / CmpHelperSTREQ

Function CmpHelperSTREQ

tests/external/gmock-1.7.0/gtest/src/gtest.cc:1546–1559  ·  view source on GitHub ↗

Helper function for *_STREQ on wide strings.

Source from the content-addressed store, hash-verified

1544
1545// Helper function for *_STREQ on wide strings.
1546AssertionResult CmpHelperSTREQ(const char* expected_expression,
1547 const char* actual_expression,
1548 const wchar_t* expected,
1549 const wchar_t* actual) {
1550 if (String::WideCStringEquals(expected, actual)) {
1551 return AssertionSuccess();
1552 }
1553
1554 return EqFailure(expected_expression,
1555 actual_expression,
1556 PrintToString(expected),
1557 PrintToString(actual),
1558 false);
1559}
1560
1561// Helper function for *_STRNE on wide strings.
1562AssertionResult CmpHelperSTRNE(const char* s1_expression,

Callers 1

gtest.ccFile · 0.70

Calls 3

AssertionSuccessFunction · 0.70
EqFailureFunction · 0.70
PrintToStringFunction · 0.50

Tested by

no test coverage detected