Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testNoOpServiceStartAndWaitStopAndWait (0.14 seconds)

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

        assertFalse(service.running);
        assertEquals(
            ImmutableList.of(State.STARTING, State.RUNNING, State.STOPPING, State.TERMINATED),
            listener.getStateHistory());
      }
    
      public void testNoOpServiceStartAndWaitStopAndWait() throws Exception {
        NoOpService service = new NoOpService();
    
        service.startAsync().awaitRunning();
        assertEquals(State.RUNNING, service.state());
    
        service.stopAsync().awaitTerminated();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        assertFalse(service.running);
        assertEquals(
            ImmutableList.of(State.STARTING, State.RUNNING, State.STOPPING, State.TERMINATED),
            listener.getStateHistory());
      }
    
      public void testNoOpServiceStartAndWaitStopAndWait() throws Exception {
        NoOpService service = new NoOpService();
    
        service.startAsync().awaitRunning();
        assertEquals(State.RUNNING, service.state());
    
        service.stopAsync().awaitTerminated();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
Back to Top