Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testPending (0.13 sec)

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

      }
    
      public void testCancelled() throws ExecutionException {
        assertThrows(CancellationException.class, () -> getDone(immediateCancelledFuture()));
      }
    
      public void testPending() throws ExecutionException {
        assertThrows(IllegalStateException.class, () -> getDone(SettableFuture.create()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

      }
    
      public void testCancelled() throws ExecutionException {
        assertThrows(CancellationException.class, () -> getDone(immediateCancelledFuture()));
      }
    
      public void testPending() throws ExecutionException {
        assertThrows(IllegalStateException.class, () -> getDone(SettableFuture.create()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      abstract AbstractFuture<Integer> newDelegate();
    
      @Override
      protected void setUp() {
        future = TestedFuture.create();
        delegate = newDelegate();
      }
    
      public void testPending() {
        assertPending(future);
      }
    
      public void testSuccessful() throws Exception {
        assertThat(future.set(1)).isTrue();
        assertSuccessful(future, 1);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      abstract AbstractFuture<Integer> newDelegate();
    
      @Override
      protected void setUp() {
        future = TestedFuture.create();
        delegate = newDelegate();
      }
    
      public void testPending() {
        assertPending(future);
      }
    
      public void testSuccessful() throws Exception {
        assertThat(future.set(1)).isTrue();
        assertSuccessful(future, 1);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top