Helper function for *_STRNE on wide strings.
| 3044 | |
| 3045 | // Helper function for *_STRNE on wide strings. |
| 3046 | AssertionResult CmpHelperSTRNE(const char* s1_expression, |
| 3047 | const char* s2_expression, |
| 3048 | const wchar_t* s1, |
| 3049 | const wchar_t* s2) { |
| 3050 | if (!String::WideCStringEquals(s1, s2)) { |
| 3051 | return AssertionSuccess(); |
| 3052 | } |
| 3053 | |
| 3054 | return AssertionFailure() << "Expected: (" << s1_expression << ") != (" |
| 3055 | << s2_expression << "), actual: " |
| 3056 | << PrintToString(s1) |
| 3057 | << " vs " << PrintToString(s2); |
| 3058 | } |
| 3059 | |
| 3060 | // Compares two C strings, ignoring case. Returns true iff they have |
| 3061 | // the same content. |
nothing calls this directly
no test coverage detected