Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 123 for withFeatures (0.04 sec)

  1. 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: 2025-12-26 12:43
    - Last Modified: 2025-09-22 20:54
    - 5.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

        SortedMultisetTestSuiteBuilder<E> result = new SortedMultisetTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @Override
      public TestSuite createTestSuite() {
        withFeatures(KNOWN_ORDER);
        TestSuite suite = super.createTestSuite();
        for (TestSuite subSuite : createDerivedSuites(this)) {
          suite.addTest(subSuite);
        }
        return suite;
      }
    
    Registered: 2025-12-26 12:43
    - Last Modified: 2025-09-08 18:35
    - 11.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

                .named("ImmutableList")
                .withFeatures(CollectionSize.ANY, SERIALIZABLE, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        suite.addTest(
            ListTestSuiteBuilder.using(new BuilderAddAllListGenerator())
                .named("ImmutableList, built with Builder.add")
                .withFeatures(CollectionSize.ANY, SERIALIZABLE, ALLOWS_NULL_QUERIES)
                .createTestSuite());
    Registered: 2025-12-26 12:43
    - Last Modified: 2025-08-07 16:05
    - 24.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          derivedSuites.add(
              MultimapTestSuiteBuilder.using(
                      new ReserializedMultimapGenerator<K, V, M>(parentBuilder.getSubjectGenerator()))
                  .withFeatures(computeReserializedMultimapFeatures(parentBuilder.getFeatures()))
                  .named(parentBuilder.getName() + " reserialized")
                  .suppressing(parentBuilder.getSuppressedTests())
    Registered: 2025-12-26 12:43
    - Last Modified: 2025-09-22 20:54
    - 26.7K bytes
    - Viewed (0)
  5. 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,
    Registered: 2025-12-26 12:43
    - Last Modified: 2025-08-07 16:05
    - 35.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/Collections2Test.java

                    unfiltered.add("zzz");
                    return Collections2.filter(unfiltered, NOT_YYY_ZZZ);
                  }
                })
            .named("Collections2.filter")
            .withFeatures(
                CollectionFeature.SUPPORTS_ADD,
                CollectionFeature.SUPPORTS_REMOVE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.KNOWN_ORDER,
                CollectionSize.ANY)
    Registered: 2025-12-26 12:43
    - Last Modified: 2025-08-07 16:05
    - 20.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

              parentBuilder) {
        return SortedSetTestSuiteBuilder.using(
                new SetMultimapTestSuiteBuilder.MultimapGetGenerator<K, V>(
                    parentBuilder.getSubjectGenerator()))
            .withFeatures(computeMultimapGetFeatures(parentBuilder.getFeatures()))
            .named(parentBuilder.getName() + ".get[key]")
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      @Override
    Registered: 2025-12-26 12:43
    - Last Modified: 2024-10-30 16:15
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

          TestSuite suite = new TestSuite();
    
          suite.addTest(
              NavigableSetTestSuiteBuilder.using(new ContiguousSetGenerator())
                  .named("Range.asSet")
                  .withFeatures(
                      CollectionSize.ANY,
                      KNOWN_ORDER,
                      ALLOWS_NULL_QUERIES,
                      NON_STANDARD_TOSTRING,
                      RESTRICTS_ELEMENTS)
    Registered: 2025-12-26 12:43
    - Last Modified: 2025-08-07 16:05
    - 19.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

                            new LinkedList<>(asList(elements)));
                      }
                    })
                .named("ForwardingCollection[LinkedList] with standard implementations")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
        suite.addTest(
    Registered: 2025-12-26 12:43
    - Last Modified: 2025-07-16 20:34
    - 4.8K bytes
    - Viewed (1)
  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(asList(features));
      }
    
      @CanIgnoreReturnValue
      public B withFeatures(Iterable<? extends Feature<?>> features) {
        for (Feature<?> feature : features) {
          this.features.add(feature);
        }
        return self();
    Registered: 2025-12-26 12:43
    - Last Modified: 2024-12-22 03:38
    - 10.4K bytes
    - Viewed (0)
Back to top