Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for withFeatures (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                    return navigableSet.descendingSet();
                  }
                })
            .named(parentBuilder.getName() + " descending")
            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

              parentBuilder) {
        return SetTestSuiteBuilder.using(
                new 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
    - 5.6K bytes
    - Viewed (0)
  9. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

                            Lists.newLinkedList(asList(elements)));
                      }
                    })
                .named("ForwardingCollection[LinkedList] 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 Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
Back to top