Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 16 of 16 for TearDownStack (0.17 seconds)

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

     *
     * @author Jesse Wilson
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractExecutionThreadServiceTest extends TestCase {
    
      private final TearDownStack tearDownStack = new TearDownStack(true);
      private final CountDownLatch enterRun = new CountDownLatch(1);
      private final CountDownLatch exitRun = new CountDownLatch(1);
    
      private Thread executionThread;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

    /**
     * Unit test for {@link TestLogHandler}.
     *
     * @author kevinb
     */
    @NullUnmarked
    public class TestLogHandlerTest extends TestCase {
    
      private TestLogHandler handler;
      private final TearDownStack stack = new TearDownStack();
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        handler = new TestLogHandler();
    
        // You could also apply it higher up the Logger hierarchy than this
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                /*
                 * This fail() helps as long as TearDownAccepter is a TearDownStack that was *not*
                 * configured with suppressThrows=true.
                 */
                fail();
              }
            });
      }
    
      private InterruptionUtil() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:38:30 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

        }
    
        public void setSatisfied(boolean satisfied) {
          this.satisfied = satisfied;
        }
      }
    
      private final boolean interruptible;
      private Monitor monitor;
      private final TearDownStack tearDownStack = new TearDownStack();
      private TestThread<Monitor> thread1;
      private TestThread<Monitor> thread2;
    
      protected MonitorTestCase(boolean interruptible) {
        this.interruptible = interruptible;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

     *
     * @author Jesse Wilson
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractExecutionThreadServiceTest extends TestCase {
    
      private final TearDownStack tearDownStack = new TearDownStack(true);
      private final CountDownLatch enterRun = new CountDownLatch(1);
      private final CountDownLatch exitRun = new CountDownLatch(1);
    
      private Thread executionThread;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                /*
                 * This fail() helps as long as TearDownAccepter is a TearDownStack that was *not*
                 * configured with suppressThrows=true.
                 */
                fail();
              }
            });
      }
    
      private InterruptionUtil() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:38:30 GMT 2026
    - 3.4K bytes
    - Click Count (0)
Back to Top