Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addTearDown (0.04 sec)

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

            new Interruptenator(Thread.currentThread(), interruptPeriodMillis);
        Thread interruptingThread = new Thread(interruptingTask);
        interruptingThread.start();
        tearDownAccepter.addTearDown(
            new TearDown() {
              @Override
              public void tearDown() throws Exception {
                interruptingTask.stopInterrupting();
                interruptingThread.interrupt();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

            new Interruptenator(Thread.currentThread(), interruptPeriodMillis);
        Thread interruptingThread = new Thread(interruptingTask);
        interruptingThread.start();
        tearDownAccepter.addTearDown(
            new TearDown() {
              @Override
              public void tearDown() throws Exception {
                interruptingTask.stopInterrupting();
                interruptingThread.interrupt();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        // You could also apply it higher up the Logger hierarchy than this
        ExampleClassUnderTest.logger.addHandler(handler);
    
        ExampleClassUnderTest.logger.setUseParentHandlers(false); // optional
    
        stack.addTearDown(
            new TearDown() {
              @Override
              public void tearDown() throws Exception {
                ExampleClassUnderTest.logger.setUseParentHandlers(true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top