The helper function for {ASSERT|EXPECT}_STRCASENE.
| 2692 | |
| 2693 | // The helper function for {ASSERT|EXPECT}_STRCASENE. |
| 2694 | AssertionResult CmpHelperSTRCASENE(const char* s1_expression, |
| 2695 | const char* s2_expression, |
| 2696 | const char* s1, |
| 2697 | const char* s2) { |
| 2698 | if (!String::CaseInsensitiveCStringEquals(s1, s2)) { |
| 2699 | return AssertionSuccess(); |
| 2700 | } else { |
| 2701 | return AssertionFailure() |
| 2702 | << "Expected: (" << s1_expression << ") != (" |
| 2703 | << s2_expression << ") (ignoring case), actual: \"" |
| 2704 | << s1 << "\" vs \"" << s2 << "\""; |
| 2705 | } |
| 2706 | } |
| 2707 | |
| 2708 | } // namespace internal |
| 2709 |
nothing calls this directly
no test coverage detected