- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for isEqualTo (0.19 sec)
-
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
} @Override public O apply(I input) { applyCount++; return delegate.apply(input); } void verifyCallCount(int expected) { assertThat(applyCount).isEqualTo(expected); } } private static <X extends Throwable, V> Function<X, V> unexpectedFunction() { return new Function<X, V>() { @Override public V apply(X t) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
} @Override public O apply(I input) { applyCount++; return delegate.apply(input); } void verifyCallCount(int expected) { assertThat(applyCount).isEqualTo(expected); } } private static <X extends Throwable, V> Function<X, V> unexpectedFunction() { return new Function<X, V>() { @Override public V apply(X t) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
}; LocalCache<String, String> cache = makeLocalCache(builder, loader); assertThat(cache.getOrLoad("test")).isEqualTo("testLoad"); ticker.advance(10, MILLISECONDS); // so that the next call will trigger refresh assertThat(cache.getOrLoad("test")).isEqualTo("testLoad"); reloadStarted.await(); ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 14 23:06:48 GMT 2024 - 112.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
}; LocalCache<String, String> cache = makeLocalCache(builder, loader); assertThat(cache.getOrLoad("test")).isEqualTo("testLoad"); ticker.advance(10, MILLISECONDS); // so that the next call will trigger refresh assertThat(cache.getOrLoad("test")).isEqualTo("testLoad"); reloadStarted.await(); ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 14 23:06:48 GMT 2024 - 110.7K bytes - Viewed (0)