Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for actualContents (0.18 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationTester.java

      @CollectionFeature.Require(SERIALIZABLE)
      public void testReserialize() {
        // For a bare Collection, the most we can guarantee is that the elements are preserved.
        assertEqualIgnoringOrder(actualContents(), SerializableTester.reserialize(actualContents()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      }
    
      /**
       * @return the contents of the container under test, for use by {@link #expectContents(Object[])
       *     expectContents(E...)} and its friends.
       */
      protected abstract Collection<E> actualContents();
    
      /**
       * Replaces the existing container under test with a new container created by the subject
       * generator.
       *
       * @see #resetContainer(Object) resetContainer(C)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {
      protected Map<K, V> getMap() {
        return container;
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return getMap().entrySet();
      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected final void resetMap() {
        resetContainer();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {
      protected Map<K, V> getMap() {
        return container;
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return getMap().entrySet();
      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected final void resetMap() {
        resetContainer();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        return ((TestMultimapGenerator<K, V, ? extends Multimap<K, V>>)
                getSubjectGenerator().getInnerGenerator())
            .sampleValues();
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return multimap.entries();
      }
    
      // TODO: dispose of this once collection is encapsulated.
      @Override
      @CanIgnoreReturnValue
      protected M resetContainer(M newContents) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top