Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testInterrupt_doesNotStopExecution (0.19 sec)

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

        // it is yielded. Clear the bit while checking so that the test doesn't hose JUnit or some other
        // test case.
        assertThat(Thread.interrupted()).isTrue();
      }
    
      public void testInterrupt_doesNotStopExecution() {
    
        AtomicInteger numCalls = new AtomicInteger();
    
        Runnable runMe =
            new Runnable() {
              @Override
              public void run() {
                numCalls.incrementAndGet();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top