Home
last modified time | relevance | path

Searched refs:fExpected (Results 1 – 4 of 4) sorted by relevance

/art/test/082-inline-execute/src/junit/framework/
DComparisonCompactor.java14 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()
[all …]
DComparisonFailure.java12 private String fExpected; field in ComparisonFailure
23 fExpected= expected; in ComparisonFailure()
35 …return new ComparisonCompactor(MAX_CONTEXT_LENGTH, fExpected, fActual).compact(super.getMessage()); in getMessage()
50 return fExpected; in getExpected()
/art/test/021-string2/src/junit/framework/
DComparisonCompactor.java14 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()
[all …]
DComparisonFailure.java12 private String fExpected; field in ComparisonFailure
23 fExpected= expected; in ComparisonFailure()
35 …return new ComparisonCompactor(MAX_CONTEXT_LENGTH, fExpected, fActual).compact(super.getMessage()); in getMessage()
50 return fExpected; in getExpected()