Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 141 for withFeatures (0.21 sec)

  1. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. 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(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                        return ImmutableMultiset.copyOf(elements);
                      }
                    })
                .named("ImmutableMultiset")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

                      public List<String> order(List<String> insertionOrder) {
                        return Ordering.natural().sortedCopy(insertionOrder);
                      }
                    })
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.GENERAL_PURPOSE,
                    CollectionFeature.SERIALIZABLE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

                            LinkedHashMultiset.create(asList(elements)));
                      }
                    })
                .named("ForwardingMultiset[LinkedHashMultiset] with standard " + "implementations")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ForwardingSetTest.java

                      }
                    })
                .named("ForwardingSet[LinkedHashSet] with standard implementations")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTest(
            BiMapTestSuiteBuilder.using(new ImmutableBiMapGenerator())
                .named("ImmutableBiMap")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.KNOWN_ORDER,
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. android/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,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

      }
    
      @Override
      public TestSuite createTestSuite() {
        if (!getFeatures().contains(KNOWN_ORDER)) {
          List<Feature<?>> features = copyToList(getFeatures());
          features.add(KNOWN_ORDER);
          withFeatures(features);
        }
        return super.createTestSuite();
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top