Searched refs:fExpected (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/legacy-test/src/junit/framework/
H A DComparisonFailure.java12 private String fExpected; field in class:ComparisonFailure
23 fExpected= expected;
35 return new ComparisonCompactor(MAX_CONTEXT_LENGTH, fExpected, fActual).compact(super.getMessage());
50 return fExpected;
H A DComparisonCompactor.java14 private String fExpected; field in class:ComparisonCompactor
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
[all...]

Completed in 8 milliseconds