Searched refs:fExpected (Results 1 – 6 of 6) sorted by relevance
/external/junit/src/org/junit/ |
D | ComparisonFailure.java | 18 private String fExpected; field in ComparisonFailure 29 fExpected= expected; in ComparisonFailure() 41 …return new ComparisonCompactor(MAX_CONTEXT_LENGTH, fExpected, fActual).compact(super.getMessage()); in getMessage() 56 return fExpected; in getExpected() 69 private String fExpected; field in ComparisonFailure.ComparisonCompactor 82 fExpected= expected; in ComparisonCompactor() 87 if (fExpected == null || fActual == null || areStringsEqual()) in compact() 88 return Assert.format(message, fExpected, fActual); in compact() 92 String expected= compactString(fExpected); in compact() 108 int end= Math.min(fExpected.length(), fActual.length()); in findCommonPrefix() [all …]
|
/external/junit/src/junit/framework/ |
D | ComparisonCompactor.java | 14 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 …]
|
D | ComparisonFailure.java | 12 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()
|
/external/junit/src/org/junit/internal/runners/statements/ |
D | ExpectException.java | 11 private final Class<? extends Throwable> fExpected; field in ExpectException 15 fExpected= expected; in ExpectException() 27 if (!fExpected.isAssignableFrom(e.getClass())) { in evaluate() 29 + fExpected.getName() + "> but was<" in evaluate() 36 + fExpected.getName()); in evaluate()
|
/external/chromium_org/third_party/skia/tests/ |
D | WArrayTest.cpp | 143 , fExpected(expected) { in TestWData() 152 const char* fExpected; member in TestWData 168 if (!stringResult.equals(fExpected)) { in RunTest() 169 SkDebugf("Expected: %s\n Result: %s\n", fExpected, stringResult.c_str()); in RunTest()
|
/external/skia/tests/ |
D | WArrayTest.cpp | 143 , fExpected(expected) { in TestWData() 152 const char* fExpected; member in TestWData 168 if (!stringResult.equals(fExpected)) { in RunTest() 169 SkDebugf("Expected: %s\n Result: %s\n", fExpected, stringResult.c_str()); in RunTest()
|