Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCopyOf_map_empty (0.08 sec)

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

      }
    
      public void testSerialization_empty() {
        assertSame(
            ImmutableClassToInstanceMap.of(),
            SerializableTester.reserialize(ImmutableClassToInstanceMap.of()));
      }
    
      public void testCopyOf_map_empty() {
        Map<Class<?>, Object> in = emptyMap();
        ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in);
        assertTrue(map.isEmpty());
        assertSame(map, ImmutableClassToInstanceMap.of());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top