Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetCheckedUntimed_badExceptionConstructor_failsEvenForSuccessfulInput (0.48 sec)

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

        } catch (Error expected) {
          assertEquals(ERROR, expected);
          return;
        }
        fail();
      }
    
      public void testGetCheckedUntimed_badExceptionConstructor_failsEvenForSuccessfulInput()
          throws Exception {
        assertThrows(
            IllegalArgumentException.class,
            () -> getChecked(immediateFuture("x"), ExceptionWithBadConstructor.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top