Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for withFeatures (0.08 sec)

  1. android/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(asList(features));
      }
    
      @CanIgnoreReturnValue
      public B withFeatures(Iterable<? extends Feature<?>> features) {
        for (Feature<?> feature : features) {
          this.features.add(feature);
        }
        return self();
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 10.4K bytes
    - Viewed (0)
  2. 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: 2024-11-01 12:43
    - Last Modified: 2024-10-19 00:05
    - 14.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  @Override
                  public Set<String> create(String[] elements) {
                    return emptySet();
                  }
                })
            .named("emptySet")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptySet())
            .createTestSuite();
      }
    
      public Test testsForSingletonSet() {
        return SetTestSuiteBuilder.using(
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 15K bytes
    - Viewed (0)
  4. android/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: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 28.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        return table.rowKeySet();
                      }
                    })
                .named("HashBasedTable.rowKeySet")
                .withFeatures(COLLECTION_FEATURES_REMOVE)
                .withFeatures(CollectionFeature.SUPPORTS_ITERATOR_REMOVE)
                .createTestSuite());
    
        suite.addTest(
            SortedSetTestSuiteBuilder.using(
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 35.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        return table.rowKeySet();
                      }
                    })
                .named("HashBasedTable.rowKeySet")
                .withFeatures(COLLECTION_FEATURES_REMOVE)
                .withFeatures(CollectionFeature.SUPPORTS_ITERATOR_REMOVE)
                .createTestSuite());
    
        suite.addTest(
            SortedSetTestSuiteBuilder.using(
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 35.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                    return Collections.checkedNavigableSet(innerSet, String.class);
                  }
                })
            .named("checkedNavigableSet/TreeSet, natural")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.KNOWN_ORDER,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 19.8K bytes
    - Viewed (0)
  8. 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: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 9.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptyList())
            .createTestSuite();
      }
    
      public Test testsForSingletonList() {
        return ListTestSuiteBuilder.using(
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 11.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptyList())
            .createTestSuite();
      }
    
      public Test testsForSingletonList() {
        return ListTestSuiteBuilder.using(
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 12.1K bytes
    - Viewed (0)
Back to top