Searched refs:assertEqualsWithin (Results 1 - 1 of 1) sorted by relevance
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
H A D | HttpHeaderParserTest.java | 87 assertEqualsWithin(entry.serverDate, now, ONE_MINUTE_MILLIS); 101 assertEqualsWithin(entry.serverDate, now, ONE_MINUTE_MILLIS); 116 assertEqualsWithin(now + 3 * ONE_HOUR_MILLIS, entry.ttl, ONE_MINUTE_MILLIS); 130 assertEqualsWithin(now + 24 * ONE_HOUR_MILLIS, entry.ttl, ONE_MINUTE_MILLIS); 155 assertEqualsWithin(now, entry.ttl, ONE_MINUTE_MILLIS); 159 private void assertEqualsWithin(long expected, long value, long fudgeFactor) { method in class:HttpHeaderParserTest
|
Completed in 5253 milliseconds