Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testSingle_serialization (0.16 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

        SortedSet<String> copy = SerializableTester.reserializeAndAssert(set);
        assertEquals(set.comparator(), copy.comparator());
      }
    
      @GwtIncompatible // SerializableTester
      public void testSingle_serialization() {
        SortedSet<String> set = new SafeTreeSet<>();
        set.add("e");
        SortedSet<String> copy = SerializableTester.reserializeAndAssert(set);
        assertEquals(set.comparator(), copy.comparator());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      public void testSingle_last() {
        SortedSet<String> set = of("e");
        assertEquals("e", set.last());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSingle_serialization() {
        SortedSet<String> set = of("e");
        SortedSet<String> copy = SerializableTester.reserializeAndAssert(set);
        assertEquals(set.comparator(), copy.comparator());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top