Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testReserialize (0.26 sec)

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

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionSerializationTester<E> extends AbstractCollectionTester<E> {
      @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/testers/CollectionSerializationEqualTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionSerializationEqualTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SERIALIZABLE)
      public void testReserialize() {
        assertEquals(SerializableTester.reserialize(actualContents()), actualContents());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top