Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 123 for withFeatures (0.13 seconds)

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

              parentBuilder) {
        return ListTestSuiteBuilder.using(
                new MultimapGetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
            .withFeatures(computeMultimapGetFeatures(parentBuilder.getFeatures()))
            .named(parentBuilder.getName() + ".get[key]")
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
                    })
                .named("CompactHashMap")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.GENERAL_PURPOSE,
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SERIALIZABLE,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

                      public String[] createValueArray(int length) {
                        return new String[length];
                      }
                    })
                .named("TreeRangeMap.asMapOfRanges")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.SUPPORTS_REMOVE,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    CollectionFeature.KNOWN_ORDER,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 30.1K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

              CollectionTestSuiteBuilder.using(
                      new ReserializedCollectionGenerator<E>(parentBuilder.getSubjectGenerator()))
                  .named(getName() + " reserialized")
                  .withFeatures(computeReserializedCollectionFeatures(parentBuilder.getFeatures()))
                  .suppressing(parentBuilder.getSuppressedTests())
                  .withSetUp(parentBuilder.getSetUp())
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                        return ImmutableMultiset.copyOf(elements);
                      }
                    })
                .named("ImmutableMultiset")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

              CollectionTestSuiteBuilder.using(
                      new ReserializedCollectionGenerator<E>(parentBuilder.getSubjectGenerator()))
                  .named(getName() + " reserialized")
                  .withFeatures(computeReserializedCollectionFeatures(parentBuilder.getFeatures()))
                  .suppressing(parentBuilder.getSuppressedTests())
                  .withSetUp(parentBuilder.getSetUp())
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        TestSuite suite = new TestSuite();
    
        suite.addTest(
            NavigableSetTestSuiteBuilder.using(new ImmutableSortedSetCopyOfGenerator())
                .named(ImmutableSortedSetTest.class.getName())
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 46.7K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

            featuresList,
            MapFeature.GENERAL_PURPOSE,
            CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
            CollectionSize.ANY);
        return MapTestSuiteBuilder.using(generator)
            .named(name)
            .withFeatures(featuresList)
            .createTestSuite();
      }
    
      // TODO: consider being null-hostile in these tests
    
      private static Test testsForHashMapNullKeysForbidden() {
        return wrappedHashMapTests(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 22 16:18:11 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

                      }
                    })
                .named("ForwardingQueue[LinkedList] with standard implementations")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
    
        return suite;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * When describing the features of the collection produced by a given generator (i.e. in a call to
     * {@link
     * com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder#withFeatures(Feature...)}),
     * this annotation specifies each of the different sizes for which a test suite should be built. (In
     * a typical case, the features should include {@link CollectionSize#ANY}.) These semantics are thus
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
Back to Top