Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertEquals (0.2 sec)

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

      public void testGetWithTimeoutDoneFuture() throws Exception {
        AbstractFuture<String> future =
            new AbstractFuture<String>() {
              {
                set("foo");
              }
            };
        assertEquals("foo", future.get(0, TimeUnit.SECONDS));
      }
    
      public void testEvilFuture_setFuture() throws Exception {
        final RuntimeException exception = new RuntimeException("you didn't say the magic word!");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testGetWithTimeoutDoneFuture() throws Exception {
        AbstractFuture<String> future =
            new AbstractFuture<String>() {
              {
                set("foo");
              }
            };
        assertEquals("foo", future.get(0, TimeUnit.SECONDS));
      }
    
      public void testEvilFuture_setFuture() throws Exception {
        final RuntimeException exception = new RuntimeException("you didn't say the magic word!");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
Back to top