Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testCreateWithDuplicates_nonNullDuplicatesRejected (0.4 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        assertThrows(IllegalArgumentException.class, () -> resetMap(entries));
      }
    
      @MapFeature.Require(REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nonNullDuplicatesRejected() {
        Entry<K, V>[] entries = getEntriesMultipleNonNullKeys();
        assertThrows(IllegalArgumentException.class, () -> resetMap(entries));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      }
    
      @CollectionFeature.Require(REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nonNullDuplicatesRejected() {
        E[] array = createSamplesArray();
        array[1] = e0();
        assertThrows(
            IllegalArgumentException.class, () -> collection = getSubjectGenerator().create(array));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      }
    
      @CollectionFeature.Require(REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nonNullDuplicatesRejected() {
        E[] array = createSamplesArray();
        array[1] = e0();
        assertThrows(
            IllegalArgumentException.class, () -> collection = getSubjectGenerator().create(array));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        assertThrows(IllegalArgumentException.class, () -> resetMap(entries));
      }
    
      @MapFeature.Require(REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nonNullDuplicatesRejected() {
        Entry<K, V>[] entries = getEntriesMultipleNonNullKeys();
        assertThrows(IllegalArgumentException.class, () -> resetMap(entries));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top