Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TestContainerGenerator (0.13 sec)

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

        implements OneSizeTestContainerGenerator<T, E> {
      private final TestContainerGenerator<T, E> generator;
      private final CollectionSize collectionSize;
    
      public OneSizeGenerator(TestContainerGenerator<T, E> generator, CollectionSize collectionSize) {
        this.generator = generator;
        this.collectionSize = collectionSize;
      }
    
      @Override
      public TestContainerGenerator<T, E> getInnerGenerator() {
        return generator;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

        implements OneSizeTestContainerGenerator<T, E> {
      private final TestContainerGenerator<T, E> generator;
      private final CollectionSize collectionSize;
    
      public OneSizeGenerator(TestContainerGenerator<T, E> generator, CollectionSize collectionSize) {
        this.generator = generator;
        this.collectionSize = collectionSize;
      }
    
      @Override
      public TestContainerGenerator<T, E> getInnerGenerator() {
        return generator;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

     * @author George van den Driessche
     */
    @GwtIncompatible
    public abstract class PerCollectionSizeTestSuiteBuilder<
            B extends PerCollectionSizeTestSuiteBuilder<B, G, T, E>,
            G extends TestContainerGenerator<T, E>,
            T,
            E>
        extends FeatureSpecificTestSuiteBuilder<B, G> {
      private static final Logger logger =
          Logger.getLogger(PerCollectionSizeTestSuiteBuilder.class.getName());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      protected Collection<E> getSampleElements() {
        return getSampleElements(getNumElements());
      }
    
      /**
       * Returns the {@linkplain #getSampleElements() sample elements} as ordered by {@link
       * TestContainerGenerator#order(List)}. Tests should use this method only if they declare
       * requirement {@link com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}.
       */
      protected List<E> getOrderedElements() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

      static <K extends @Nullable Object, V extends @Nullable Object>
          TestSetGenerator<K> keySetGenerator(
              OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> mapGenerator) {
        TestContainerGenerator<Map<K, V>, Entry<K, V>> generator = mapGenerator.getInnerGenerator();
        if (generator instanceof TestSortedMapGenerator
            && ((TestSortedMapGenerator<K, V>) generator).create().keySet() instanceof SortedSet) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top