阅读背景:

Android-volley如何在监听器中通过单元测试

来源:互联网 

I have some requests I'm making with Android Volley. As the Listeners are doing things like turning the response JSON into objects, I'd like to test them to make sure they're doing the right thing. Thing is, I'm not very caught up on how to do unit testing. I do have Robolectric with JUnit set up, but any help would be appreciated. How would I go about setting up my test so I can test the Listener object passed into the request?I have some requests I'm making with Android Vo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: