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