Home
last modified time | relevance | path

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

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue61/
DGenericListBeanTest.java30 ListProvider<String> listProvider = new ListProvider<String>(); in testGenericList()
38 ListProvider<String> listProvider2 = loader.loadAs(s, ListProvider.class); in testGenericList()
47 ListProvider<Bean> listProvider = new ListProvider<Bean>(); in testGenericBean()
61 ListProvider listProvider2 = loader.loadAs(s, ListProvider.class); in testGenericBean()
70 public static class ListProvider<T> { class in GenericListBeanTest
84 if (obj instanceof ListProvider) { in equals()
85 return list.equals(((ListProvider) obj).getList()); in equals()
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java394 bind(List.class).toProvider(ListProvider.class); in testBindToProvider()
395 bind(Collection.class).toProvider(Key.get(ListProvider.class)); in testBindToProvider()
463 assertEquals(Key.get(ListProvider.class), binding.getProviderKey()); in testBindToProvider()
477 assertEquals(Key.get(ListProvider.class), binding.getProviderKey()); in testBindToProvider()
1307 private static class ListProvider implements Provider<List> { class in ElementsTest