Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testCreateWithNegativeSize (0.07 seconds)

  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 {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top