Home
last modified time | relevance | path

Searched refs:listProvider (Results 1 – 3 of 3) sorted by relevance

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue61/
DGenericListBeanTest.java30 ListProvider<String> listProvider = new ListProvider<String>(); in testGenericList() local
31 listProvider.getList().add("foo"); in testGenericList()
32 listProvider.getList().add("bar"); in testGenericList()
33 String s = yaml.dumpAsMap(listProvider); in testGenericList()
41 assertEquals(listProvider, listProvider2); in testGenericList()
47 ListProvider<Bean> listProvider = new ListProvider<Bean>(); in testGenericBean() local
50 listProvider.getList().add(foo); in testGenericBean()
54 listProvider.getList().add(bar); in testGenericBean()
55 String s = yaml.dumpAsMap(listProvider); in testGenericBean()
DGenericMapBeanTest.java31 MapProvider<String, Integer> listProvider = new MapProvider<String, Integer>(); in testGenericMap() local
32 listProvider.getMap().put("foo", 17); in testGenericMap()
33 listProvider.getMap().put("bar", 19); in testGenericMap()
34 String s = yaml.dumpAsMap(listProvider); in testGenericMap()
42 assertEquals(listProvider, listProvider2); in testGenericMap()
48 MapProvider<String, Bean> listProvider = new MapProvider<String, Bean>(); in testGenericBean() local
51 listProvider.getMap().put("foo", foo); in testGenericBean()
55 listProvider.getMap().put("bar", bar); in testGenericBean()
56 String s = yaml.dumpAsMap(listProvider); in testGenericBean()
/external/guice/core/test/com/google/inject/
DScopesTest.java285 Provider<?> listProvider = scope.providers.get(Key.get(List.class)); in testUnscopedProviderWorksOutsideOfRequestedScope() local
289 assertTrue(listProvider.get() instanceof ArrayList); in testUnscopedProviderWorksOutsideOfRequestedScope()