Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testEquals_containingNull (0.12 sec)

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

            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
        ArrayList<E> elements = new ArrayList<>(getSampleElements());
        elements.set(elements.size() / 2, null);
        collection = getSubjectGenerator().create(elements.toArray());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

            getSet().equals(MinimalSet.from(elements)));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        elements.add(null);
    
        collection = getSubjectGenerator().create(elements.toArray());
        assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

            getSet().equals(MinimalSet.from(elements)));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        elements.add(null);
    
        collection = getSubjectGenerator().create(elements.toArray());
        assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
        ArrayList<E> elements = new ArrayList<>(getSampleElements());
        elements.set(elements.size() / 2, null);
        collection = getSubjectGenerator().create(elements.toArray());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top