Is it possible to inject UI-Elements into Testcases? (RoboGuice, Robolectric, Android) -
i figured out how inject non-ui-elements (android) testclass, using robolectric , roboguice. unfortunately not able figure out how inject android-ui-elements testclass.
possible @ present state of development of roboguice , robolectric?
if possible, can give me hint find tutorial or offer small code-example? if not possible right hint nice too.
thanks
no not possible. injectview code accepts 1 argument serves source , destination. can't inject references of views activity object.
you can check source more information: https://github.com/roboguice/roboguice/blob/master/roboguice/src/main/java/roboguice/inject/viewlistener.java#l162
Comments
Post a Comment