Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for NoOpService (0.06 seconds)

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

        // ensure that if weird things happen during construction then we get exceptions.
        NoOpService service1 = new NoOpService();
        // This service will start service1 when addListener is called.  This simulates service1 being
        // started asynchronously.
        Service service2 =
            new Service() {
              final NoOpService delegate = new NoOpService();
    
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        // ensure that if weird things happen during construction then we get exceptions.
        NoOpService service1 = new NoOpService();
        // This service will start service1 when addListener is called.  This simulates service1 being
        // started asynchronously.
        Service service2 =
            new Service() {
              final NoOpService delegate = new NoOpService();
    
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        NoOpService service = new NoOpService();
    
        service.startAsync().awaitRunning();
    
        service.stopAsync().awaitTerminated();
        service.stopAsync();
        assertEquals(State.TERMINATED, service.state());
      }
    
      public void testNoOpServiceStopIdempotenceDoubleWait() throws Exception {
        NoOpService service = new NoOpService();
    
        service.startAsync().awaitRunning();
    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

        NoOpService service = new NoOpService();
    
        service.startAsync().awaitRunning();
    
        service.stopAsync().awaitTerminated();
        service.stopAsync();
        assertEquals(State.TERMINATED, service.state());
      }
    
      public void testNoOpServiceStopIdempotenceDoubleWait() throws Exception {
        NoOpService service = new NoOpService();
    
        service.startAsync().awaitRunning();
    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)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

                  "ServiceManager configured with no services.  Is your application configured"
                      + " properly?",
                  new EmptyServiceManagerWarning());
          copy = ImmutableList.of(new NoOpService());
        }
        this.state = new ServiceManagerState(copy);
        this.services = copy;
        WeakReference<ServiceManagerState> stateReference = new WeakReference<>(state);
        for (Service service : copy) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
Back to Top