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. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        assertFalse(future.interruptTaskWasCalled);
        CancellationException e = assertThrows(CancellationException.class, future::get);
        assertThat(e).hasCauseThat().isNull();
      }
    
      public void testCancel_notDoneInterrupt() throws Exception {
        InterruptibleFuture future = new InterruptibleFuture();
        assertTrue(future.cancel(true));
        assertTrue(future.isCancelled());
        assertTrue(future.isDone());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
Back to Top