Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSetFuture_misbehavingFutureDoesNotThrow (0.22 sec)

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

        assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class);
        assertThat(expected).hasCauseThat().hasMessageThat().contains(badFuture.toString());
      }
    
      public void testSetFuture_misbehavingFutureDoesNotThrow() throws Exception {
        SettableFuture<String> future = SettableFuture.create();
        ListenableFuture<String> badFuture =
            new ListenableFuture<String>() {
              @Override
    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