Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for expectNullMissingWhenNullUnsupported (0.23 sec)

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

      public void testOffer_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> getQueue().offer(null));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported offer(null)");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testAddAtIndex_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> getList().add(0, null));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(n, null)");
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndex_negative() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        List<E> containsNull = singletonList(null);
        assertThrows(NullPointerException.class, () -> getList().addAll(0, containsNull));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported(
            "Should not contain null after unsupported addAll(n, containsNull)");
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = {ZERO, ONE})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

      public void testOffer_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> getQueue().offer(null));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported offer(null)");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

      public void testAdd_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> collection.add(null));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(null)");
      }
    
      @CollectionFeature.Require({SUPPORTS_ADD, FAILS_FAST_ON_CONCURRENT_MODIFICATION})
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

      public void testAdd_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> collection.add(null));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(null)");
      }
    
      @CollectionFeature.Require({SUPPORTS_ADD, FAILS_FAST_ON_CONCURRENT_MODIFICATION})
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        List<E> containsNull = singletonList(null);
        assertThrows(NullPointerException.class, () -> getList().addAll(0, containsNull));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported(
            "Should not contain null after unsupported addAll(n, containsNull)");
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = {ZERO, ONE})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      public void testAddAll_nullUnsupported() {
        List<E> containsNull = singletonList(null);
        assertThrows(NullPointerException.class, () -> collection.addAll(containsNull));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported(
            "Should not contain null after unsupported addAll(containsNull)");
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_nullCollectionReference() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testAddAtIndex_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> getList().add(0, null));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(n, null)");
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndex_negative() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top