Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCreateWithNegativeSize (0.11 sec)

  1. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

    /**
     * Tests for {@link EvictingQueue}.
     *
     * @author Kurt Alfred Kluever
     */
    @GwtCompatible
    @NullMarked
    public class EvictingQueueTest extends TestCase {
    
      public void testCreateWithNegativeSize() throws Exception {
        assertThrows(IllegalArgumentException.class, () -> EvictingQueue.create(-1));
      }
    
      public void testCreateWithZeroSize() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top