Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 259 for CollectionFeature (0.18 sec)

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

    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                    })
                .named("ImmutableMultiset.elementSet.asList")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        return suite;
      }
    
      public void testCreation_noArgs() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

                    })
                .named("ForwardingSet[LinkedHashSet] with standard implementations")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.MinimalCollection;
    import com.google.common.collect.testing.features.CollectionFeature;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.MinimalCollection;
    import com.google.common.collect.testing.features.CollectionFeature;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

            .named("setUpTearDown")
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.ALLOWS_NULL_KEYS,
                MapFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                CollectionSize.ANY)
            .withSetUp(setUp)
            .withTearDown(tearDown)
            .createTestSuite();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

        if (derivedFeatures.contains(CollectionFeature.SUPPORTS_ADD)) {
          derivedFeatures.add(ListFeature.SUPPORTS_ADD_WITH_INDEX);
        }
        if (derivedFeatures.contains(CollectionFeature.SUPPORTS_REMOVE)) {
          derivedFeatures.add(ListFeature.SUPPORTS_REMOVE_WITH_INDEX);
        }
        if (derivedFeatures.contains(CollectionFeature.GENERAL_PURPOSE)) {
          derivedFeatures.add(ListFeature.GENERAL_PURPOSE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @ListFeature.Require(absent = {SUPPORTS_SET, SUPPORTS_ADD_WITH_INDEX})
      public void testListIterator_unmodifiable() {
        runListIteratorTest(UNMODIFIABLE);
      }
    
      /*
       * For now, we don't cope with testing this when the list supports only some
       * modification operations.
       */
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapForEachTester.java

    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.features.CollectionFeature;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

                .named("ForwardingMultiset[LinkedHashMultiset] with standard " + "implementations")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
        suite.addTest(
            MultisetTestSuiteBuilder.using(
                    new TestStringMultisetGenerator() {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top