- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for wasCalled (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
synchronized (monitor) { assertFalse(wasCalled); wasCalled = true; assertThat(result).isEqualTo(value); } } @Override public synchronized void onFailure(Throwable t) { synchronized (monitor) { assertFalse(wasCalled); wasCalled = true; assertThat(t).isEqualTo(failure); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
synchronized (monitor) { assertFalse(wasCalled); wasCalled = true; assertThat(result).isEqualTo(value); } } @Override public synchronized void onFailure(Throwable t) { synchronized (monitor) { assertFalse(wasCalled); wasCalled = true; assertThat(t).isEqualTo(failure); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
boolean wasCalled = false; // must be set in load() String keyPrefix = KEY_PREFIX; int valuePrefix = VALUE_PREFIX; WatchedCreatorLoader() {} void reset() { wasCalled = false; } boolean wasCalled() { return wasCalled; } void setKeyPrefix(String keyPrefix) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 19.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
assertTrue("Listener called before it was expected", expectCall); assertFalse("Listener called more than once", wasCalled()); calledCountDown.countDown(); } void expectCall() { assertFalse("expectCall is already true", expectCall); expectCall = true; } boolean wasCalled() { return calledCountDown.getCount() == 0; } void waitForCall() throws InterruptedException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
assertTrue("Listener called before it was expected", expectCall); assertFalse("Listener called more than once", wasCalled()); called.set(true); } void expectCall() { assertFalse("expectCall is already true", expectCall); expectCall = true; } boolean wasCalled() { return called.get(); } } public void testAllAsList() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
assertTrue("Listener called before it was expected", expectCall); assertFalse("Listener called more than once", wasCalled()); called.set(true); } void expectCall() { assertFalse("expectCall is already true", expectCall); expectCall = true; } boolean wasCalled() { return called.get(); } } public void testAllAsList() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0)