Searched refs:fExpected (Results 1 – 4 of 4) sorted by relevance
/dalvik/tests/082-inline-execute/src/junit/framework/ |
D | ComparisonFailure.java | 9 private String fExpected; field in ComparisonFailure 20 fExpected= expected; in ComparisonFailure() 31 if (fExpected == null || fActual == null) in getMessage() 32 return Assert.format(super.getMessage(), fExpected, fActual); in getMessage() 34 int end= Math.min(fExpected.length(), fActual.length()); in getMessage() 38 if (fExpected.charAt(i) != fActual.charAt(i)) in getMessage() 41 int j= fExpected.length()-1; in getMessage() 44 if (fExpected.charAt(j) != fActual.charAt(k)) in getMessage() 51 expected= fExpected; in getMessage() 54 expected= fExpected.substring(i, j+1); in getMessage() [all …]
|
/dalvik/tests/021-string2/src/junit/framework/ |
D | ComparisonFailure.java | 9 private String fExpected; field in ComparisonFailure 20 fExpected= expected; in ComparisonFailure() 31 if (fExpected == null || fActual == null) in getMessage() 32 return Assert.format(super.getMessage(), fExpected, fActual); in getMessage() 34 int end= Math.min(fExpected.length(), fActual.length()); in getMessage() 38 if (fExpected.charAt(i) != fActual.charAt(i)) in getMessage() 41 int j= fExpected.length()-1; in getMessage() 44 if (fExpected.charAt(j) != fActual.charAt(k)) in getMessage() 51 expected= fExpected; in getMessage() 54 expected= fExpected.substring(i, j+1); in getMessage() [all …]
|
/dalvik/dx/src/junit/framework/ |
D | ComparisonFailure.java | 9 private String fExpected; field in ComparisonFailure 20 fExpected= expected; in ComparisonFailure() 31 if (fExpected == null || fActual == null) in getMessage() 32 return Assert.format(super.getMessage(), fExpected, fActual); in getMessage() 34 int end= Math.min(fExpected.length(), fActual.length()); in getMessage() 38 if (fExpected.charAt(i) != fActual.charAt(i)) in getMessage() 41 int j= fExpected.length()-1; in getMessage() 44 if (fExpected.charAt(j) != fActual.charAt(k)) in getMessage() 51 expected= fExpected; in getMessage() 54 expected= fExpected.substring(i, j+1); in getMessage() [all …]
|
/dalvik/dx/src/junit/extensions/ |
D | ExceptionTestCase.java | 24 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()
|