Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 177 for reserialize (0.11 sec)

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

        assertEquals(HashMultiset.create(multimap.values()), HashMultiset.create(valuesCopy));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testEmptySerialization() {
        Multimap<String, Integer> multimap = ImmutableListMultimap.of();
        assertSame(multimap, SerializableTester.reserialize(multimap));
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
        public List<E> create(Object... elements) {
          return (List<E>) SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        Helpers.testComparator(comparator, ordered);
        assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator);
    
        // The Java implementation.
        Comparator<byte[]> javaImpl = UnsignedBytes.lexicographicalComparatorJavaImpl();
        Helpers.testComparator(javaImpl, ordered);
        assertThat(SerializableTester.reserialize(javaImpl)).isSameInstanceAs(javaImpl);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationTester.java

      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)
  5. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertEquals(HashMultiset.create(multimap.values()), HashMultiset.create(valuesCopy));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testEmptySerialization() {
        Multimap<String, Integer> multimap = ImmutableSetMultimap.of();
        assertSame(multimap, SerializableTester.reserialize(multimap));
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
        public List<E> create(Object... elements) {
          return (List<E>) SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
        assertEquals(pair.backward, copy.backward);
        assertSame(copy.backward, copy.forward.inverse());
        assertSame(copy.forward, copy.backward.inverse());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

    import static com.google.common.collect.testing.testers.NavigableSetNavigationTester.getHoleMethods;
    import static com.google.common.testing.SerializableTester.reserialize;
    import static com.google.common.testing.SerializableTester.reserializeAndAssert;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
        public Set<E> create(Object... elements) {
          return (Set<E>) SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

        SerializableTester.reserializeAndAssert(map.keySet());
        assertEquals(
            Lists.newArrayList(map.values()),
            Lists.newArrayList(SerializableTester.reserialize(map.values())));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top