Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 141 for withFeatures (0.12 sec)

  1. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

                        return Sets.union(Sets.<String>newHashSet(), Sets.<String>newHashSet());
                      }
                    })
                .named("empty U empty")
                .withFeatures(
                    CollectionSize.ZERO, CollectionFeature.NONE, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(new DegeneratedImmutableSetGenerator())
                .named(ImmutableSetTest.class.getName() + ", degenerate")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                  public Queue<String> create(String[] elements) {
                    return new ArrayDeque<>(MinimalCollection.of(elements));
                  }
                })
            .named("ArrayDeque")
            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE, CollectionFeature.KNOWN_ORDER, CollectionSize.ANY)
            .suppressing(suppressForArrayDeque())
            .createTestSuite();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                    return Collections.checkedMap(map, String.class, String.class);
                  }
                })
            .named("checkedMap/HashMap")
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.ALLOWS_NULL_KEYS,
                MapFeature.ALLOWS_NULL_VALUES,
                MapFeature.ALLOWS_ANY_NULL_QUERIES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                    return Collections.checkedMap(map, String.class, String.class);
                  }
                })
            .named("checkedMap/HashMap")
            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.ALLOWS_NULL_KEYS,
                MapFeature.ALLOWS_NULL_VALUES,
                MapFeature.ALLOWS_ANY_NULL_QUERIES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .named("Multisets.unmodifiableMultiset[TreeMultiset]")
                .createTestSuite());
    
        suite.addTest(
            MultisetTestSuiteBuilder.using(unionGenerator())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

          derivedSuites.add(
              SetTestSuiteBuilder.using(
                      new ReserializedSetGenerator<E>(parentBuilder.getSubjectGenerator()))
                  .named(getName() + " reserialized")
                  .withFeatures(computeReserializedCollectionFeatures(parentBuilder.getFeatures()))
                  .suppressing(parentBuilder.getSuppressedTests())
                  .withSetUp(parentBuilder.getSetUp())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        }
                        return multimap;
                      }
                    })
                .named("synchronized ArrayListMultimap")
                .withFeatures(
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    MapFeature.GENERAL_PURPOSE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

    import junit.framework.TestSuite;
    
    /**
     * This builder creates a composite test suite, containing a separate test suite for each {@link
     * CollectionSize} present in the features specified by {@link #withFeatures(Feature...)}.
     *
     * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this
     *     class (such as {@link #named(String)}) return this type, so that Builder methods of more
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

                        return CompactHashSet.create(asList(elements));
                      }
                    })
                .named("CompactHashSet")
                .withFeatures(allFeatures)
                .createTestSuite());
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top