Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testAdd_supportedNullPresent (0.09 seconds)

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

      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedNullPresent() {
        E[] array = createArrayWithNullElement();
        collection = getSubjectGenerator().create(array);
        assertFalse("add(nullPresent) should return false", getSet().add(null));
        expectContents(array);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_supportedNullPresent()} so that tests
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

      /**
       * Returns the {@link Method} instance for {@link #testAdd_supportedNullPresent()} so that tests
       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddSupportedNullPresentMethod() {
        return getMethod(ListAddTester.class, "testAdd_supportedNullPresent");
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top