- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testInterrupt_doesNotStopExecution (0.15 seconds)
-
android/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 = numCalls::incrementAndGet; Thread.currentThread().interrupt(); e.execute(runMe);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (0) -
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 = numCalls::incrementAndGet; Thread.currentThread().interrupt(); e.execute(runMe);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (0)