Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertTimeout (0.18 sec)

  1. 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));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. 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));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top