Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for CollectionAddTester (0.27 seconds)

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

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionAddTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAdd_supportedNotPresent() {
        assertTrue("add(notPresent) should return true", collection.add(e3()));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionAddTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAdd_supportedNotPresent() {
        assertTrue("add(notPresent) should return true", collection.add(e3()));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTestSuiteBuilder.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.testers.CollectionAddAllTester;
    import com.google.common.collect.testing.testers.CollectionAddTester;
    import com.google.common.collect.testing.testers.CollectionClearTester;
    import com.google.common.collect.testing.testers.CollectionContainsAllTester;
    import com.google.common.collect.testing.testers.CollectionContainsTester;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAtIndex_nullSupported()} so that tests
       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAtIndex_nullSupported()} so that tests
       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

        expectContents(array);
      }
    
      /**
       * 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() {
    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)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

        expected.add(null);
        expectContents(expected);
      }
    
      /**
       * 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() {
    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)
  8. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

    import static com.google.common.collect.testing.testers.CollectionAddAllTester.getAddAllUnsupportedSomePresentMethod;
    import static com.google.common.collect.testing.testers.CollectionAddTester.getAddUnsupportedNotPresentMethod;
    import static com.google.common.collect.testing.testers.CollectionCreationTester.getCreateWithNullUnsupportedMethod;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top