Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testForMapWithDefault_null_compareWithSerializable (0.85 seconds)

  1. guava-tests/test/com/google/common/base/FunctionsTest.java

            .addEqualityGroup(Functions.forMap(map, 1))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testForMapWithDefault_null_compareWithSerializable() {
        ImmutableMap<String, Integer> map = ImmutableMap.of("One", 1);
        Function<String, Integer> function = Functions.forMap(map, null);
    
        assertEquals((Integer) 1, function.apply("One"));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/FunctionsTest.java

            .addEqualityGroup(Functions.forMap(map, 1))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testForMapWithDefault_null_compareWithSerializable() {
        ImmutableMap<String, Integer> map = ImmutableMap.of("One", 1);
        Function<String, Integer> function = Functions.forMap(map, null);
    
        assertEquals((Integer) 1, function.apply("One"));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
Back to Top