Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for DefaultService (0.46 seconds)

  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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 7.7K bytes
    - Click Count (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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  3. 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);
      }
    
    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)
  4. 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);
      }
    
    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