Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for DefaultService (0.2 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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. 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)
  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);
      }
    
    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