Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RecordingListener (0.13 sec)

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

      }
    
      public void testServiceStartStop() {
        Service a = new NoOpService();
        Service b = new NoOpService();
        ServiceManager manager = new ServiceManager(asList(a, b));
        RecordingListener listener = new RecordingListener();
        manager.addListener(listener, directExecutor());
        assertState(manager, Service.State.NEW, a, b);
        assertFalse(manager.isHealthy());
        manager.startAsync().awaitHealthy();
    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