Helper function for *_STREQ on wide strings.
| 2861 | |
| 2862 | // Helper function for *_STREQ on wide strings. |
| 2863 | AssertionResult 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. |
| 2879 | AssertionResult CmpHelperSTRNE(const char* s1_expression, |
no test coverage detected