Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/
DRequestInjectionTest.java43 HasInjections.staticField = 0; in setUp()
44 HasInjections.staticMethod = null; in setUp()
48 final HasInjections hi = new HasInjections(); in testInjectMembers()
62 assertNull(HasInjections.staticMethod); in testInjectMembers()
63 assertEquals(0, HasInjections.staticField); in testInjectMembers()
73 requestStaticInjection(HasInjections.class); in testInjectStatics()
77 assertEquals("test", HasInjections.staticMethod); in testInjectStatics()
78 assertEquals(5, HasInjections.staticField); in testInjectStatics()
82 final HasInjections hi = new HasInjections(); in testInjectMembersAndStatics()
90 requestStaticInjection(HasInjections.class); in testInjectMembersAndStatics()
[all …]
/external/guice/core/test/com/google/inject/spi/
DInjectionPointTest.java199 Method instanceMethod = HasInjections.class.getMethod("instanceMethod", String.class); in testAddForInstanceMethodsAndFields()
200 Field instanceField = HasInjections.class.getField("instanceField"); in testAddForInstanceMethodsAndFields()
201 Field instanceField2 = HasInjections.class.getField("instanceField2"); in testAddForInstanceMethodsAndFields()
203 TypeLiteral<HasInjections> type = TypeLiteral.get(HasInjections.class); in testAddForInstanceMethodsAndFields()
205 InjectionPoint.forInstanceMethodsAndFields(HasInjections.class); in testAddForInstanceMethodsAndFields()
216 Method staticMethod = HasInjections.class.getMethod("staticMethod", String.class); in testAddForStaticMethodsAndFields()
217 Field staticField = HasInjections.class.getField("staticField"); in testAddForStaticMethodsAndFields()
218 Field staticField2 = HasInjections.class.getField("staticField2"); in testAddForStaticMethodsAndFields()
221 InjectionPoint.forStaticMethodsAndFields(HasInjections.class); in testAddForStaticMethodsAndFields()
222 TypeLiteral<HasInjections> type = TypeLiteral.get(HasInjections.class); in testAddForStaticMethodsAndFields()
[all …]