Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TimeoutOnStartUp (0.98 sec)

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

      public void testServiceTimeoutOnStartUp() throws Exception {
        TimeoutOnStartUp service = new TimeoutOnStartUp();
    
        TimeoutException e =
            assertThrows(
                TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
        assertThat(e).hasMessageThat().contains(Service.State.STARTING.toString());
      }
    
      private class TimeoutOnStartUp extends AbstractExecutionThreadService {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top