- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for assertCannotSet (0.09 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
future.addListener(listener, directExecutor()); listener.assertRun(); assertThat(future.isDone()).isTrue(); assertCannotSet(future); assertCannotCancel(future); } private static void assertCannotSet(AbstractFuture<Integer> future) { assertThat(future.set(99)).isFalse(); assertThat(future.setException(new IndexOutOfBoundsException())).isFalse();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 15.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
future.addListener(listener, directExecutor()); listener.assertRun(); assertThat(future.isDone()).isTrue(); assertCannotSet(future); assertCannotCancel(future); } private static void assertCannotSet(AbstractFuture<Integer> future) { assertThat(future.set(99)).isFalse(); assertThat(future.setException(new IndexOutOfBoundsException())).isFalse();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 15.5K bytes - Viewed (0)