- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testNullMonitorInGuardConstructorThrowsNPE (0.2 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
Monitor monitor2 = new Monitor(); FlagGuard guard = new FlagGuard(monitor2); assertThrows(IllegalMonitorStateException.class, () -> monitor1.hasWaiters(guard)); } public void testNullMonitorInGuardConstructorThrowsNPE() { assertThrows(NullPointerException.class, () -> new FlagGuard(null)); } public void testIsFair() { assertTrue(new Monitor(true).isFair()); assertFalse(new Monitor(false).isFair());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
Monitor monitor2 = new Monitor(); FlagGuard guard = new FlagGuard(monitor2); assertThrows(IllegalMonitorStateException.class, () -> monitor1.hasWaiters(guard)); } public void testNullMonitorInGuardConstructorThrowsNPE() { assertThrows(NullPointerException.class, () -> new FlagGuard(null)); } public void testIsFair() { assertTrue(new Monitor(true).isFair()); assertFalse(new Monitor(false).isFair());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.9K bytes - Viewed (0)