Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToString_failed (0.11 sec)

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

      }
    
      public void testToString_cancelled() throws Exception {
        assertThat(immediateCancelledFuture().toString()).matches("[^\\[]+\\[status=CANCELLED\\]");
      }
    
      public void testToString_failed() {
        assertThat(immediateFailedFuture(new RuntimeException("foo")).toString())
            .matches("[^\\[]+\\[status=FAILURE, cause=\\[java.lang.RuntimeException: foo\\]\\]");
      }
    
    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