Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for notifyFailed (0.06 seconds)

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

        @Override
        protected void doStart() {
          notifyFailed(new IllegalStateException("start failure"));
        }
      }
    
      private static class FailRunService extends NoOpService {
        @Override
        protected void doStart() {
          super.doStart();
          notifyFailed(new IllegalStateException("run failure"));
        }
      }
    
    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

        @Override
        protected void doStart() {
          notifyFailed(new IllegalStateException("start failure"));
        }
      }
    
      private static class FailRunService extends NoOpService {
        @Override
        protected void doStart() {
          super.doStart();
          notifyFailed(new IllegalStateException("run failure"));
        }
      }
    
    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

         * its state history.
         */
        RecordingListener unused = RecordingListener.record(service);
        service.startAsync();
        service.notifyFailed(new Exception("1"));
        service.notifyFailed(new Exception("2"));
        assertThat(service.failureCause()).hasMessageThat().isEqualTo("1");
        IllegalStateException e = assertThrows(IllegalStateException.class, service::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

         * its state history.
         */
        RecordingListener unused = RecordingListener.record(service);
        service.startAsync();
        service.notifyFailed(new Exception("1"));
        service.notifyFailed(new Exception("2"));
        assertThat(service.failureCause()).hasMessageThat().isEqualTo("1");
        IllegalStateException e = assertThrows(IllegalStateException.class, service::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)
Back to Top