Home | History | Annotate | Download | only in framework

Lines Matching refs:fExpected

10 	private String fExpected;
17 fExpected= expected;
22 if (fExpected == null || fActual == null || areStringsEqual())
23 return Assert.format(message, fExpected, fActual);
27 String expected= compactString(fExpected);
43 int end= Math.min(fExpected.length(), fActual.length());
45 if (fExpected.charAt(fPrefix) != fActual.charAt(fPrefix))
51 int expectedSuffix= fExpected.length() - 1;
54 if (fExpected.charAt(expectedSuffix) != fActual.charAt(actualSuffix))
57 fSuffix= fExpected.length() - expectedSuffix;
61 return (fPrefix > fContextLength ? ELLIPSIS : "") + fExpected.substring(Math.max(0, fPrefix - fContextLength), fPrefix);
65 int end= Math.min(fExpected.length() - fSuffix + 1 + fContextLength, fExpected.length());
66 return fExpected.substring(fExpected.length() - fSuffix + 1, end) + (fExpected.length() - fSuffix + 1 < fExpected.length() - fContextLength ? ELLIPSIS : "");
70 return fExpected.equals(fActual);