Helper function for *_STRNE on wide strings.
| 3377 | |
| 3378 | // Helper function for *_STRNE on wide strings. |
| 3379 | AssertionResult CmpHelperSTRNE(const char* s1_expression, |
| 3380 | const char* s2_expression, |
| 3381 | const wchar_t* s1, |
| 3382 | const wchar_t* s2) { |
| 3383 | if (!String::WideCStringEquals(s1, s2)) { |
| 3384 | return AssertionSuccess(); |
| 3385 | } |
| 3386 | |
| 3387 | return AssertionFailure() << "Expected: (" << s1_expression << ") != (" |
| 3388 | << s2_expression << "), actual: " |
| 3389 | << PrintToString(s1) |
| 3390 | << " vs " << PrintToString(s2); |
| 3391 | } |
| 3392 | |
| 3393 | // Compares two C strings, ignoring case. Returns true iff they have |
| 3394 | // the same content. |
nothing calls this directly
no test coverage detected