You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to shadow some objects from the GDK. I did not have any luck at first, but after modifying isFromAndroidSdk(ClassInfo classInfo) in Setup.java to...
I realize all the methods for CardScrollView are not implemented but I can't seem to get Robolectric to just instantiate the view without NPE. I dug around the source code more and found that "get" inside ViewConfiguration.java is getting a null Context. I've been stuck on this for a while and can't seem to get any further. I appreciate any help and let me know if I can provide any other information. (Below is the output from the current failure)
I am trying to shadow some objects from the GDK. I did not have any luck at first, but after modifying isFromAndroidSdk(ClassInfo classInfo) in Setup.java to...
...I was able to at least shadow GestureDetecture with the following:
Now I'm having issues trying to shadow CardScrollView. This is my shadow file class:
I realize all the methods for CardScrollView are not implemented but I can't seem to get Robolectric to just instantiate the view without NPE. I dug around the source code more and found that "get" inside ViewConfiguration.java is getting a null Context. I've been stuck on this for a while and can't seem to get any further. I appreciate any help and let me know if I can provide any other information. (Below is the output from the current failure)
The text was updated successfully, but these errors were encountered: