Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for OneSizeTestContainerGenerator (0.19 sec)

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

     * TestCollectionGenerator}.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface OneSizeTestContainerGenerator<T, E extends @Nullable Object>
        extends TestSubjectGenerator<T>, TestContainerGenerator<T, E> {
      TestContainerGenerator<T, E> getInnerGenerator();
    
      Collection<E> getSampleElements(int howMany);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          implements TestMapGenerator<K, V>, DerivedGenerator {
    
        private final OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> generator;
    
        public MapGenerator(
            OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> oneSizeTestContainerGenerator) {
          this.generator = oneSizeTestContainerGenerator;
        }
    
        @Override
        public SampleElements<Entry<K, V>> samples() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          implements TestSetGenerator<Entry<K, V>>, DerivedGenerator {
        private final OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> mapGenerator;
    
        public MapEntrySetGenerator(
            OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> mapGenerator) {
          this.mapGenerator = mapGenerator;
        }
    
        @Override
        public SampleElements<Entry<K, V>> samples() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

                  .createTestSuite());
        }
        return derivedSuites;
      }
    
      static class ReserializedSetGenerator<E> implements TestSetGenerator<E> {
        final OneSizeTestContainerGenerator<Collection<E>, E> gen;
    
        private ReserializedSetGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          implements TestMapGenerator<K, V>, DerivedGenerator {
    
        private final OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> generator;
    
        public MapGenerator(
            OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> oneSizeTestContainerGenerator) {
          this.generator = oneSizeTestContainerGenerator;
        }
    
        @Override
        public SampleElements<Entry<K, V>> samples() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.testing.AbstractTester;
    import com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder;
    import com.google.common.collect.testing.OneSizeTestContainerGenerator;
    import com.google.common.collect.testing.SetTestSuiteBuilder;
    import com.google.common.collect.testing.TestSetGenerator;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

      private static class AsMapGenerator<K, V, M extends Multimap<K, V>>
          implements TestMapGenerator<K, Collection<V>>, DerivedGenerator {
        private final OneSizeTestContainerGenerator<M, Entry<K, V>> multimapGenerator;
    
        public AsMapGenerator(OneSizeTestContainerGenerator<M, Entry<K, V>> multimapGenerator) {
          this.multimapGenerator = multimapGenerator;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.testing.AbstractTester;
    import com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder;
    import com.google.common.collect.testing.OneSizeTestContainerGenerator;
    import com.google.common.collect.testing.SetTestSuiteBuilder;
    import com.google.common.collect.testing.TestSetGenerator;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

            .withTearDown(parentBuilder.getTearDown())
            .createTestSuite();
      }
    
      static class ElementSetGenerator<E> implements TestSetGenerator<E> {
        final OneSizeTestContainerGenerator<Collection<E>, E> gen;
    
        ElementSetGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

    import com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.OneSizeTestContainerGenerator;
    import com.google.common.collect.testing.TestListGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top