Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for TestSetGenerator (0.12 sec)

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

    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSetGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      Set<E> create(Object... elements);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestSetGenerator.java

    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSetGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      Set<E> create(Object... elements);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java

     */
    @GwtIncompatible
    public class ReserializingTestSetGenerator<E> extends ReserializingTestCollectionGenerator<E>
        implements TestSetGenerator<E> {
    
      ReserializingTestSetGenerator(TestSetGenerator<E> delegate) {
        super(delegate);
      }
    
      public static <E> TestSetGenerator<E> newInstance(TestSetGenerator<E> delegate) {
        return new ReserializingTestSetGenerator<>(delegate);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

              parentBuilder) {
        TestSetGenerator<E> delegate =
            (TestSetGenerator<E>) parentBuilder.getSubjectGenerator().getInnerGenerator();
    
        List<Feature<?>> features = new ArrayList<>();
        features.add(DESCENDING_VIEW);
        features.addAll(parentBuilder.getFeatures());
    
        return NavigableSetTestSuiteBuilder.using(
                new TestSetGenerator<E>() {
    
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java

     */
    @GwtIncompatible
    public class ReserializingTestSetGenerator<E> extends ReserializingTestCollectionGenerator<E>
        implements TestSetGenerator<E> {
    
      ReserializingTestSetGenerator(TestSetGenerator<E> delegate) {
        super(delegate);
      }
    
      public static <E> TestSetGenerator<E> newInstance(TestSetGenerator<E> delegate) {
        return new ReserializingTestSetGenerator<>(delegate);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

    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;
    import com.google.common.collect.testing.features.Feature;
    import java.util.Collections;
    import java.util.EnumSet;
    import java.util.List;
    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. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

    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;
    import com.google.common.collect.testing.features.Feature;
    import java.util.Collections;
    import java.util.EnumSet;
    import java.util.List;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

    import java.util.List;
    import java.util.Set;
    
    /**
     * An abstract TestSetGenerator for generating sets containing enum values.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestEnumSetGenerator implements TestSetGenerator<AnEnum> {
      @Override
      public SampleElements<AnEnum> samples() {
        return new Enums();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

     * @author George van den Driessche
     */
    @GwtIncompatible
    public class SetTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<SetTestSuiteBuilder<E>, E> {
      public static <E> SetTestSuiteBuilder<E> using(TestSetGenerator<E> generator) {
        return new SetTestSuiteBuilder<E>().usingGenerator(generator);
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

    import java.util.List;
    import java.util.Set;
    
    /**
     * An abstract TestSetGenerator for generating sets containing enum values.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestEnumSetGenerator implements TestSetGenerator<AnEnum> {
      @Override
      public SampleElements<AnEnum> samples() {
        return new Enums();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top