Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for assertTimeout (0.06 seconds)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

          Assert.fail("This call was supposed to throw an ExecutionException");
        } catch (ExecutionException expected) {
          Assert.assertSame(expectedCause, expected.getCause());
        }
      }
    
      public void assertTimeout() throws Exception {
        // Verify that the listener does not get called in a reasonable amount of
        // time.
        Assert.assertFalse(countDownLatch.await(1L, SECONDS));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Click Count (0)
Back to Top