Home
last modified time | relevance | path

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

/aosp12/art/test/021-string2/src/junit/framework/
H A DComparisonCompactor.java14 private String fExpected; field in ComparisonCompactor
21 fExpected= expected; in ComparisonCompactor()
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()
64 fSuffix= fExpected.length() - expectedSuffix; in findCommonSuffix()
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()
[all …]
H A 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()
/aosp12/art/test/082-inline-execute/src/junit/framework/
H A DComparisonCompactor.java14 private String fExpected; field in ComparisonCompactor
21 fExpected= expected; in ComparisonCompactor()
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()
64 fSuffix= fExpected.length() - expectedSuffix; in findCommonSuffix()
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()
[all …]
H A 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()
/aosp12/frameworks/base/test-base/src/junit/framework/
H A DComparisonCompactor.java14 private String fExpected; field in ComparisonCompactor
21 fExpected= expected; in ComparisonCompactor()
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()
64 fSuffix= fExpected.length() - expectedSuffix; in findCommonSuffix()
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()
[all …]
H A 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()