Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for reserializeAndAssertElementsEqual (0.22 sec)

  1. android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java

        assertEquals(original, copy);
        assertTrue(copy instanceof ImmutableMultiset);
        return copy;
      }
    
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
      static <E> Collection<E> reserializeAndAssertElementsEqual(Collection<E> original) {
        Collection<E> copy = reserialize(original);
        assertTrue(elementsEqual(original, copy));
        assertTrue(copy instanceof ImmutableCollection);
        return copy;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

        assertEquals(original, copy);
        assertTrue(copy instanceof ImmutableMultiset);
        return copy;
      }
    
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
      static <E> Collection<E> reserializeAndAssertElementsEqual(Collection<E> original) {
        Collection<E> copy = reserialize(original);
        assertTrue(elementsEqual(original, copy));
        assertTrue(copy instanceof ImmutableCollection);
        return copy;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            RegularImmutableMap.fromEntries(ImmutableMap.entryOf(new NonSerializableClass(), "value"));
        Collection<String> collection = map.values();
    
        LenientSerializableTester.reserializeAndAssertElementsEqual(collection);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testValuesCollectionIsSerializable_jdkBackedImmutableMap() {
        class NonSerializableClass {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            RegularImmutableMap.create(1, new Object[] {new NonSerializableClass(), "value"});
        Collection<String> collection = map.values();
    
        LenientSerializableTester.reserializeAndAssertElementsEqual(collection);
      }
    
      // TODO: Re-enable this test after moving to new serialization format in ImmutableMap.
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
Back to top