- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for verifyThreadWasNotInterrupted (1.43 sec)
-
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
import static com.google.common.util.concurrent.Futures.getDone; import static com.google.common.util.concurrent.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.util.concurrent.TestPlatform.verifyThreadWasNotInterrupted; import static java.util.concurrent.Executors.newFixedThreadPool; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
getUninterruptibly(future, 0, SECONDS); fail(); } catch (TimeoutException expected) { } catch (ExecutionException e) { throw new AssertionError(e); } } static void verifyThreadWasNotInterrupted() { assertFalse(Thread.currentThread().isInterrupted()); } static void clearInterrupt() { Thread.interrupted(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0)