Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testFutureCancellableBeforeFunctionCompletion (1.28 sec)

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

        assertFalse(inputFuture.isCancelled());
        assertTrue(outputFuture.isCancelled());
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
      public void testFutureCancellableBeforeFunctionCompletion() throws Exception {
        // Set the result in a separate thread since this test runs the function
        // (which will block) in the same thread.
        new Thread() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        assertFalse(inputFuture.isCancelled());
        assertTrue(outputFuture.isCancelled());
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
      public void testFutureCancellableBeforeFunctionCompletion() throws Exception {
        // Set the result in a separate thread since this test runs the function
        // (which will block) in the same thread.
        new Thread() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top