The helper function for {ASSERT|EXPECT}_STRCASENE.
| 3024 | |
| 3025 | // The helper function for {ASSERT|EXPECT}_STRCASENE. |
| 3026 | AssertionResult CmpHelperSTRCASENE(const char* s1_expression, |
| 3027 | const char* s2_expression, |
| 3028 | const char* s1, |
| 3029 | const char* s2) { |
| 3030 | if (!String::CaseInsensitiveCStringEquals(s1, s2)) { |
| 3031 | return AssertionSuccess(); |
| 3032 | } else { |
| 3033 | return AssertionFailure() |
| 3034 | << "Expected: (" << s1_expression << ") != (" |
| 3035 | << s2_expression << ") (ignoring case), actual: \"" |
| 3036 | << s1 << "\" vs \"" << s2 << "\""; |
| 3037 | } |
| 3038 | } |
| 3039 | |
| 3040 | } // namespace internal |
| 3041 |
nothing calls this directly
no test coverage detected