Home
last modified time | relevance | path

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

/external/dagger2/javatests/dagger/android/
DDispatchingAndroidInjectorTest.java42 assertThat(dispatchingAndroidInjector.maybeInject(activity)).isTrue(); in withClassKeys()
53 assertThat(dispatchingAndroidInjector.maybeInject(activity)).isTrue(); in withStringKeys()
64 assertThat(dispatchingAndroidInjector.maybeInject(fooActivity)).isTrue(); in withMixedKeys()
66 assertThat(dispatchingAndroidInjector.maybeInject(barActivity)).isTrue(); in withMixedKeys()
75 assertThat(dispatchingAndroidInjector.maybeInject(activity)).isFalse(); in maybeInject_returnsFalse_ifNoMatchingInjectorExists()
86 dispatchingAndroidInjector.maybeInject(activity); in throwsIfFactoryCreateReturnsNull()
100 dispatchingAndroidInjector.maybeInject(activity); in throwsIfClassMismatched()
/external/dagger2/java/dagger/android/
DDispatchingAndroidInjector.java99 public boolean maybeInject(T instance) { in maybeInject() method in DispatchingAndroidInjector
134 boolean wasInjected = maybeInject(instance); in inject()