Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for addTearDown (0.04 sec)

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

      }
    
      private class FakeService extends AbstractExecutionThreadService implements TearDown {
    
        private final ExecutorService executor = newSingleThreadExecutor();
    
        FakeService() {
          tearDownStack.addTearDown(this);
        }
    
        volatile int startupCalled = 0;
        volatile int shutdownCalled = 0;
        volatile int runCalled = 0;
    
        @Override
        protected void startUp() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

          throw new AssertionError(
              "Thread interrupted on test entry. "
                  + "Some test probably didn't clear the interrupt state");
        }
    
        tearDownStack.addTearDown(
            new TearDown() {
              @Override
              public void tearDown() {
                Thread.interrupted();
              }
            });
      }
    
      @Override
      protected void tearDown() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top