Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for withFeatures (0.16 sec)

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

                  @Override
                  public Set<String> create(String[] elements) {
                    return Collections.emptySet();
                  }
                })
            .named("emptySet")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptySet())
            .createTestSuite();
      }
    
      public Test testsForSingletonSet() {
        return SetTestSuiteBuilder.using(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  2. 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,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

       * Specifies {@link CollectionFeature#KNOWN_ORDER} for all list tests, since lists have an
       * iteration ordering corresponding to the insertion order.
       */
      @Override
      public TestSuite createTestSuite() {
        withFeatures(KNOWN_ORDER);
        return super.createTestSuite();
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. 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,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

                        return Sets.newConcurrentHashSet(Arrays.asList(elements));
                      }
                    })
                .named("Sets.newConcurrentHashSet")
                .withFeatures(CollectionSize.ANY, SetFeature.GENERAL_PURPOSE)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

                    })
                .named("Lists.reverse[ImmutableList]")
                .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
            ListTestSuiteBuilder.using(new CharactersOfStringGenerator())
                .named("Lists.charactersOf[String]")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

        // ListTestSuiteBuilder, etc.?
        derived.add(
            MapTestSuiteBuilder.using(new MapGenerator<K, V>(parentBuilder.getSubjectGenerator()))
                .withFeatures(parentBuilder.getFeatures())
                .named(parentBuilder.getName() + " [Map]")
                .suppressing(parentBuilder.getSuppressedTests())
                .suppressing(SetCreationTester.class.getMethods())
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        TestSuite suite = new TestSuite();
        suite.addTestSuite(ImmutableSortedMapTest.class);
    
        suite.addTest(
            NavigableMapTestSuiteBuilder.using(new ImmutableSortedMapGenerator())
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS,
                    CollectionFeature.KNOWN_ORDER,
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(ImmutableMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(new ImmutableMapGenerator())
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS,
                    CollectionFeature.KNOWN_ORDER,
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

       * called more than once to add features in multiple groups.
       */
      @CanIgnoreReturnValue
      public B withFeatures(Feature<?>... features) {
        return withFeatures(Arrays.asList(features));
      }
    
      @CanIgnoreReturnValue
      public B withFeatures(Iterable<? extends Feature<?>> features) {
        for (Feature<?> feature : features) {
          this.features.add(feature);
        }
        return self();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top