- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testMaximumSize_negative (0.12 sec)
-
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
} public void testConcurrencyLevel_large() { CacheBuilder.newBuilder().concurrencyLevel(Integer.MAX_VALUE); // don't actually build this beast } public void testMaximumSize_negative() { CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder(); assertThrows(IllegalArgumentException.class, () -> builder.maximumSize(-1)); } public void testMaximumSize_setTwice() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 24.9K bytes - Viewed (0)