Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testStop_failed (0.1 seconds)

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

        assertEquals(Service.State.TERMINATED, service.state());
        assertThat(service.transitionStates)
            .containsExactly(Service.State.STARTING, Service.State.STOPPING)
            .inOrder();
      }
    
      public void testStop_failed() {
        Exception exception = new Exception("deliberate");
        TestService service =
            new TestService() {
              @Override
              protected void shutDown() throws Exception {
    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

        assertEquals(Service.State.TERMINATED, service.state());
        assertThat(service.transitionStates)
            .containsExactly(Service.State.STARTING, Service.State.STOPPING)
            .inOrder();
      }
    
      public void testStop_failed() {
        Exception exception = new Exception("deliberate");
        TestService service =
            new TestService() {
              @Override
              protected void shutDown() throws Exception {
    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)
Back to Top