Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for LenientSerializableTester (0.22 sec)

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

     * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
     */
    @GwtCompatible(emulated = true)
    final class LenientSerializableTester {
      /*
       * TODO(cpovirk): move this to c.g.c.testing if we allow for c.g.c.annotations dependencies so
       * that it can be GWTified?
       */
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
    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

     * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
     */
    @GwtCompatible(emulated = true)
    final class LenientSerializableTester {
      /*
       * TODO(cpovirk): move this to c.g.c.testing if we allow for c.g.c.annotations dependencies so
       * that it can be GWTified?
       */
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
    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

      @GwtIncompatible // SerializableTester
      public void testViewSerialization() {
        Map<String, Integer> map = ImmutableMap.of("one", 1, "two", 2, "three", 3);
        LenientSerializableTester.reserializeAndAssertLenient(map.entrySet());
        LenientSerializableTester.reserializeAndAssertLenient(map.keySet());
    
        Collection<Integer> reserializedValues = reserialize(map.values());
    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

      @GwtIncompatible // SerializableTester
      public void testViewSerialization() {
        Map<String, Integer> map = ImmutableMap.of("one", 1, "two", 2, "three", 3);
        LenientSerializableTester.reserializeAndAssertLenient(map.entrySet());
        LenientSerializableTester.reserializeAndAssertLenient(map.keySet());
    
        Collection<Integer> reserializedValues = reserialize(map.values());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertEquals(multimap.size(), SerializableTester.reserialize(multimap).size());
        SerializableTester.reserializeAndAssert(multimap.get("foo"));
        LenientSerializableTester.reserializeAndAssertLenient(multimap.keySet());
        LenientSerializableTester.reserializeAndAssertLenient(multimap.keys());
        SerializableTester.reserializeAndAssert(multimap.asMap());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertEquals(multimap.size(), SerializableTester.reserialize(multimap).size());
        SerializableTester.reserializeAndAssert(multimap.get("foo"));
        LenientSerializableTester.reserializeAndAssertLenient(multimap.keySet());
        LenientSerializableTester.reserializeAndAssertLenient(multimap.keys());
        SerializableTester.reserializeAndAssert(multimap.asMap());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertEquals(multimap.size(), SerializableTester.reserialize(multimap).size());
        SerializableTester.reserializeAndAssert(multimap.get("foo"));
        LenientSerializableTester.reserializeAndAssertLenient(multimap.keySet());
        LenientSerializableTester.reserializeAndAssertLenient(multimap.keys());
        SerializableTester.reserializeAndAssert(multimap.asMap());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization_elementSet() {
        Multiset<String> c = ImmutableMultiset.of("a", "b", "a");
        Collection<String> copy = LenientSerializableTester.reserializeAndAssertLenient(c.elementSet());
        assertThat(copy).containsExactly("a", "b").inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization_elementSet() {
        Multiset<String> c = ImmutableMultiset.of("a", "b", "a");
        Collection<String> copy = LenientSerializableTester.reserializeAndAssertLenient(c.elementSet());
        assertThat(copy).containsExactly("a", "b").inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top