Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testCancel_notDoneInterrupt (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        CancellationException e = assertThrows(CancellationException.class, () -> future.get());
        assertThat(e.getCause()).isNotNull();
      }
    
      public void testCancel_notDoneInterrupt() throws Exception {
        Future<?> future = newFutureInstance();
        assertTrue(future.cancel(true));
        assertTrue(future.isCancelled());
        assertTrue(future.isDone());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top