Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testAddAll_supportedSomePresent (0.36 sec)

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

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SetAddAllTester<E> extends AbstractSetTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_supportedSomePresent() {
        assertTrue(
            "add(somePresent) should return true", getSet().addAll(MinimalCollection.of(e3(), e0())));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

        expectUnchanged();
        expectMissing(e3(), e4());
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_supportedSomePresent() {
        assertTrue(
            "addAll(somePresent) should return true",
            collection.addAll(MinimalCollection.of(e3(), e0())));
        assertTrue("should contain " + e3(), collection.contains(e3()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top