Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for IteratorTester (0.11 sec)

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

      @CollectionFeature.Require({SUPPORTS_ITERATOR_REMOVE, KNOWN_ORDER})
      public void testRemovingIteratorKnownOrder() {
        new IteratorTester<E>(
            4,
            MODIFIABLE,
            getSubjectGenerator().order(asList(e0(), e1(), e1(), e2())),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<E> newTargetIterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

      @CollectionFeature.Require({SUPPORTS_ITERATOR_REMOVE, KNOWN_ORDER})
      public void testRemovingIteratorKnownOrder() {
        new IteratorTester<E>(
            4,
            MODIFIABLE,
            getSubjectGenerator().order(asList(e0(), e1(), e1(), e2())),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<E> newTargetIterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    @ElementTypesAreNonnullByDefault
    public class PeekingIteratorTest extends TestCase {
    
      /**
       * Version of {@link IteratorTester} that compares an iterator over a given collection of elements
       * (used as the reference iterator) against a {@code PeekingIterator} that *wraps* such an
       * iterator (used as the target iterator).
       *
       * <p>This IteratorTester makes copies of the master so that it can later verify that {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

      public void testIterator_knownOrderRemoveSupported() {
        runIteratorTest(MODIFIABLE, IteratorTester.KnownOrder.KNOWN_ORDER, getOrderedElements());
      }
    
      @CollectionFeature.Require(value = KNOWN_ORDER, absent = SUPPORTS_ITERATOR_REMOVE)
      public void testIterator_knownOrderRemoveUnsupported() {
        runIteratorTest(UNMODIFIABLE, IteratorTester.KnownOrder.KNOWN_ORDER, getOrderedElements());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

      public void testIterator_knownOrderRemoveSupported() {
        runIteratorTest(MODIFIABLE, IteratorTester.KnownOrder.KNOWN_ORDER, getOrderedElements());
      }
    
      @CollectionFeature.Require(value = KNOWN_ORDER, absent = SUPPORTS_ITERATOR_REMOVE)
      public void testIterator_knownOrderRemoveUnsupported() {
        runIteratorTest(UNMODIFIABLE, IteratorTester.KnownOrder.KNOWN_ORDER, getOrderedElements());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    @ElementTypesAreNonnullByDefault
    public class PeekingIteratorTest extends TestCase {
    
      /**
       * Version of {@link IteratorTester} that compares an iterator over a given collection of elements
       * (used as the reference iterator) against a {@code PeekingIterator} that *wraps* such an
       * iterator (used as the target iterator).
       *
       * <p>This IteratorTester makes copies of the master so that it can later verify that {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      }
    
      @GwtIncompatible // unreasonably slow
      public void testGetIteration() {
        new IteratorTester<Integer>(
            6,
            MODIFIABLE,
            newLinkedHashSet(asList(2, 3, 4, 7, 8)),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          private @Nullable Multimap<String, Integer> multimap;
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/IteratorsTest.java

      private abstract static class EmptyIteratorTester extends IteratorTester<Integer> {
        protected EmptyIteratorTester() {
          super(3, MODIFIABLE, Collections.<Integer>emptySet(), IteratorTester.KnownOrder.KNOWN_ORDER);
        }
      }
    
      @GwtIncompatible // Only used by @GwtIncompatible code
      private abstract static class SingletonIteratorTester extends IteratorTester<Integer> {
        protected SingletonIteratorTester() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      private abstract static class EmptyIteratorTester extends IteratorTester<Integer> {
        protected EmptyIteratorTester() {
          super(3, MODIFIABLE, Collections.<Integer>emptySet(), IteratorTester.KnownOrder.KNOWN_ORDER);
        }
      }
    
      @GwtIncompatible // Only used by @GwtIncompatible code
      private abstract static class SingletonIteratorTester extends IteratorTester<Integer> {
        protected SingletonIteratorTester() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

            }
          }.test();
        }
      }
    
      @GwtIncompatible // unreasonably slow
      public void testKeysIteration() {
        new IteratorTester<String>(
            6,
            MODIFIABLE,
            newArrayList("foo", "foo", "bar", "bar", "foo"),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          private @Nullable Multimap<String, Integer> multimap;
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top