Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for createArrayWithNullElement (0.18 sec)

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

        List<E> iteratorElements = new ArrayList<>();
        for (E element : collection) { // uses iterator()
          iteratorElements.add(element);
        }
        assertEqualIgnoringOrder(asList(createArrayWithNullElement()), iteratorElements);
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testIterator_removeAffectsBackingCollection() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_nullPresent() {
        collection = getSubjectGenerator().create(createArrayWithNullElement());
    
        int initialSize = collection.size();
        assertTrue("remove(null) should return true", collection.remove(null));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        List<E> iteratorElements = new ArrayList<>();
        for (E element : collection) { // uses iterator()
          iteratorElements.add(element);
        }
        assertEqualIgnoringOrder(asList(createArrayWithNullElement()), iteratorElements);
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testIterator_removeAffectsBackingCollection() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      @CollectionSize.Require(ONE)
      public void testRetainAll_nullSingletonPreviouslySingletonWithNull() {
        initCollectionWithNullElement();
        expectReturnsFalse(nullSingleton);
        expectContents(createArrayWithNullElement());
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testRetainAll_nullSingletonPreviouslySeveralWithNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      @CollectionSize.Require(ONE)
      public void testRetainAll_nullSingletonPreviouslySingletonWithNull() {
        initCollectionWithNullElement();
        expectReturnsFalse(nullSingleton);
        expectContents(createArrayWithNullElement());
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testRetainAll_nullSingletonPreviouslySeveralWithNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top