Lines Matching refs:fExpected
14 private String fExpected;
21 fExpected= expected;
26 if (fExpected == null || fActual == null || areStringsEqual()) {
29 return format(message, fExpected, fActual);
33 String expected= compactString(fExpected);
50 int end= Math.min(fExpected.length(), fActual.length());
52 if (fExpected.charAt(fPrefix) != fActual.charAt(fPrefix))
58 int expectedSuffix= fExpected.length() - 1;
61 if (fExpected.charAt(expectedSuffix) != fActual.charAt(actualSuffix))
64 fSuffix= fExpected.length() - expectedSuffix;
68 return (fPrefix > fContextLength ? ELLIPSIS : "") + fExpected.substring(Math.max(0, fPrefix - fContextLength), fPrefix);
72 int end= Math.min(fExpected.length() - fSuffix + 1 + fContextLength, fExpected.length());
73 return fExpected.substring(fExpected.length() - fSuffix + 1, end) + (fExpected.length() - fSuffix + 1 < fExpected.length() - fContextLength ? ELLIPSIS : "");
77 return fExpected.equals(fActual);