开发者

How to test a call to setContentView?

开发者 https://www.devze.com 2022-12-31 19:17 出处:网络
How do I write a unit test to 开发者_如何学运维determine that the layout used in setContentView(int layoutId) has been called and corresponds to the proper layout for a given activity?Check Calculon.

How do I write a unit test to 开发者_如何学运维determine that the layout used in setContentView(int layoutId) has been called and corresponds to the proper layout for a given activity?


Check Calculon. There is a simple way to do what you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消