Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestService (0.2 sec)

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

      }
    
      public void testServiceToString() {
        AbstractIdleService service = new TestService();
        assertEquals("TestService [NEW]", service.toString());
        service.startAsync().awaitRunning();
        assertEquals("TestService [RUNNING]", service.toString());
        service.stopAsync().awaitTerminated();
        assertEquals("TestService [TERMINATED]", service.toString());
      }
    
      public void testTimeout() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        }
    
        @Override
        protected ScheduledExecutorService executor() {
          return executor;
        }
      }
    
      public void testFailOnExceptionFromRun() throws Exception {
        TestService service = new TestService();
        service.runException = new Exception();
        service.startAsync().awaitRunning();
        service.runFirstBarrier.await();
        service.runSecondBarrier.await();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      }
    
      public void testServiceToString() {
        AbstractIdleService service = new TestService();
        assertEquals("TestService [NEW]", service.toString());
        service.startAsync().awaitRunning();
        assertEquals("TestService [RUNNING]", service.toString());
        service.stopAsync().awaitTerminated();
        assertEquals("TestService [TERMINATED]", service.toString());
      }
    
      public void testTimeout() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        }
    
        @Override
        protected ScheduledExecutorService executor() {
          return executor;
        }
      }
    
      public void testFailOnExceptionFromRun() throws Exception {
        TestService service = new TestService();
        service.runException = new Exception();
        service.startAsync().awaitRunning();
        service.runFirstBarrier.await();
        service.runSecondBarrier.await();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top