Searched defs:assertEqualsWithin (Results 1 - 1 of 1) sorted by relevance
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
H A D | HttpHeaderParserTest.java | 95 assertEqualsWithin(entry.serverDate, now, ONE_MINUTE_MILLIS); 96 assertEqualsWithin(entry.lastModified, (now - ONE_DAY_MILLIS), ONE_MINUTE_MILLIS); 110 assertEqualsWithin(entry.serverDate, now, ONE_MINUTE_MILLIS); 125 assertEqualsWithin(now + 3 * ONE_HOUR_MILLIS, entry.ttl, ONE_MINUTE_MILLIS); 139 assertEqualsWithin(now + ONE_DAY_MILLIS, entry.ttl, ONE_MINUTE_MILLIS); 157 assertEqualsWithin(now + ONE_DAY_MILLIS, entry.softTtl, ONE_MINUTE_MILLIS); 158 assertEqualsWithin(now + ONE_DAY_MILLIS + ONE_WEEK_MILLIS, entry.ttl, ONE_MINUTE_MILLIS); 181 assertEqualsWithin(now, entry.ttl, ONE_MINUTE_MILLIS); 194 assertEqualsWithin(now + ONE_HOUR_MILLIS, entry.ttl, ONE_MINUTE_MILLIS); 213 assertEqualsWithin(no 217 private void assertEqualsWithin(long expected, long value, long fudgeFactor) { method in class:HttpHeaderParserTest [all...] |
Completed in 131 milliseconds