Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCatchesUndeclaredThrowableFromListener (0.34 sec)

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

              }
            },
            directExecutor());
        assertThat(ranImmediately.get()).isTrue();
        t.interrupt();
        t.join();
      }
    
      public void testCatchesUndeclaredThrowableFromListener() {
        AbstractFuture<String> f = new AbstractFuture<String>() {};
        f.set("foo");
        f.addListener(() -> sneakyThrow(new SomeCheckedException()), directExecutor());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top