Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testOf_serialization (0.13 sec)

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

      public void testOf_last() {
        SortedSet<String> set = of("e", "f", "b", "d", "c");
        assertEquals("f", set.last());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testOf_serialization() {
        SortedSet<String> set = of("e", "f", "b", "d", "c");
        SortedSet<String> copy = SerializableTester.reserializeAndAssert(set);
        assertTrue(elementsEqual(set, copy));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/PredicatesTest.java

                Predicates.in(differentOrder))
            .addEqualityGroup(Predicates.in(differentNums))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testIn_serialization() {
        checkSerialization(Predicates.in(Arrays.asList(1, 2, 3, null)));
      }
    
      public void testIn_handlesNullPointerException() {
        class CollectionThatThrowsNPE<T> extends ArrayList<T> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top