Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testNotifyStoppedAfterFailure (0.15 sec)

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

        manager.stopAsync();
        manager.awaitStopped(10, MILLISECONDS);
        assertThat(manager.servicesByState().keySet()).containsExactly(Service.State.TERMINATED);
      }
    
      public void testNotifyStoppedAfterFailure() throws TimeoutException {
        Service a =
            new AbstractService() {
              @Override
              protected void doStart() {
                notifyFailed(new IllegalStateException("start failure"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top