Home
last modified time | relevance | path

Searched refs:defaultConverter (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java406 T defaultConverter = (T) defaultConverter(convertFromType, convertToType); in getDefaultValue() local
407 return defaultConverter; in getDefaultValue()
415 private <F, T> Converter<F, T> defaultConverter( in defaultConverter() method in NullPointerTester
/external/guava/guava-testlib/test/com/google/common/testing/
DNullPointerTesterTest.java1200 Converter<String, Integer> defaultConverter = (Converter<String, Integer>) in check() local
1202 assertEquals(Integer.valueOf(0), defaultConverter.convert("anything")); in check()
1203 assertEquals("", defaultConverter.reverse().convert(123)); in check()
1204 assertNull(defaultConverter.convert(null)); in check()
1205 assertNull(defaultConverter.reverse().convert(null)); in check()