Home
last modified time | relevance | path

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

/external/junit/src/junit/framework/
DComparisonCompactor.java10 private String fExpected; field in ComparisonCompactor
17 fExpected= expected; in ComparisonCompactor()
22 if (fExpected == null || fActual == null || areStringsEqual()) in compact()
23 return Assert.format(message, fExpected, fActual); in compact()
27 String expected= compactString(fExpected); in compact()
43 int end= Math.min(fExpected.length(), fActual.length()); in findCommonPrefix()
45 if (fExpected.charAt(fPrefix) != fActual.charAt(fPrefix)) in findCommonPrefix()
51 int expectedSuffix= fExpected.length() - 1; in findCommonSuffix()
54 if (fExpected.charAt(expectedSuffix) != fActual.charAt(actualSuffix)) in findCommonSuffix()
57 fSuffix= fExpected.length() - expectedSuffix; in findCommonSuffix()
[all …]
DComparisonFailure.java12 private String fExpected; field in ComparisonFailure
23 fExpected= expected; in ComparisonFailure()
34 …return new ComparisonCompactor(MAX_CONTEXT_LENGTH, fExpected, fActual).compact(super.getMessage()); in getMessage()
49 return fExpected; in getExpected()
/external/junit/src/junit/extensions/
DExceptionTestCase.java24 Class fExpected; field in ExceptionTestCase
28 fExpected= exception; in ExceptionTestCase()
39 if (fExpected.isAssignableFrom(e.getClass())) in runTest()
44 fail("Expected exception " + fExpected); in runTest()