How to use real Bitmap object in Robolectric unit tests?

后端 未结 0 1119
走了就别回头了
走了就别回头了 2021-01-19 02:11

I\'d like to use Bitmap (resource from res folder and from uri) in my Robolectric unit tests, but the given object is always empty. I know that Robolectric uses ShadowBitmap

相关标签:
回答
  • 消灭零回复
提交回复
热议问题