Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DefaultService (0.22 sec)

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

      private static class DefaultService extends AbstractIdleService {
        @Override
        protected void startUp() throws Exception {}
    
        @Override
        protected void shutDown() throws Exception {}
      }
    
      public void testFunctionalServiceStartStop() {
        AbstractIdleService service = new DefaultService();
        service.startAsync().awaitRunning();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      private static class DefaultService extends AbstractIdleService {
        @Override
        protected void startUp() throws Exception {}
    
        @Override
        protected void shutDown() throws Exception {}
      }
    
      public void testFunctionalServiceStartStop() {
        AbstractIdleService service = new DefaultService();
        service.startAsync().awaitRunning();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        }
      }
    
      public void testNotifyStartedWhenNotStarting() {
        AbstractService service = new DefaultService();
        assertThrows(IllegalStateException.class, () -> service.notifyStarted());
      }
    
      public void testNotifyStoppedWhenNotRunning() {
        AbstractService service = new DefaultService();
        assertThrows(IllegalStateException.class, () -> service.notifyStopped());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        }
      }
    
      public void testNotifyStartedWhenNotStarting() {
        AbstractService service = new DefaultService();
        assertThrows(IllegalStateException.class, () -> service.notifyStarted());
      }
    
      public void testNotifyStoppedWhenNotRunning() {
        AbstractService service = new DefaultService();
        assertThrows(IllegalStateException.class, () -> service.notifyStopped());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
Back to top