Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testNullIsNotPassedThrough (0.17 sec)

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

        assertEquals("backward", nullsArePassed.reverse().convert("foo"));
        assertEquals("backward", nullsArePassed.reverse().convert(null));
      }
    
      public void testNullIsNotPassedThrough() {
        Converter<String, String> nullsAreHandled = sillyConverter(true);
        assertEquals("forward", nullsAreHandled.convert("foo"));
        assertEquals(null, nullsAreHandled.convert(null));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top