Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testRuntimeExceptionFromGet (0.58 sec)

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

        ListenableFuture<String> f = UncheckedThrowingFuture.throwingError(error);
        MockCallback callback = new MockCallback(error);
        addCallback(f, callback, directExecutor());
      }
    
      public void testRuntimeExceptionFromGet() {
        RuntimeException e = new IllegalArgumentException("foo not found");
        ListenableFuture<String> f = UncheckedThrowingFuture.throwingRuntimeException(e);
        MockCallback callback = new MockCallback(e);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Nov 15 16:33:21 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        ListenableFuture<String> f = UncheckedThrowingFuture.throwingError(error);
        MockCallback callback = new MockCallback(error);
        addCallback(f, callback, directExecutor());
      }
    
      public void testRuntimeExceptionFromGet() {
        RuntimeException e = new IllegalArgumentException("foo not found");
        ListenableFuture<String> f = UncheckedThrowingFuture.throwingRuntimeException(e);
        MockCallback callback = new MockCallback(e);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 6.3K bytes
    - Viewed (0)
Back to top