android - Dagger 1 mocking modules in extended graph (example project included) -


i have problem mocking module dagger 1.

essentially i'd application-module provide 'global' bindings , activity-module add said module , provide bindings used in activities.

for testing added mocking capabilities. mocking binding application-module works fine, mocking binding activity-module not.

i created example project 2 out of 3 tests fail (those in check mock-dependency present).

https://github.com/mknudsen/dagger-module-overrides-example


Comments

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -