Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testServiceStopIdempotence (0.08 sec)

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

        service.stopAsync().awaitTerminated();
        assertTrue(service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
        executionThread.join();
      }
    
      public void testServiceStopIdempotence() throws Exception {
        WaitOnRunService service = new WaitOnRunService();
    
        service.startAsync().awaitRunning();
        enterRun.await(); // to avoid stopping the service until run() is invoked
    
    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