为什么UiAutomatorTestCase这个类被丢弃了?那用啥啊?
来源:6-4 UiDevice对象功能详解

慕码人5474104
2018-06-24
上面有好几个都被画了横线
写回答
1回答
-
城下秋草
2018-06-30
google官方在演进,方法被替换也很正常。
官方说明:
This class is deprecated.
It is no longer necessary to extend UiAutomatorTestCase. You can use getInstance(Instrumentation) from any test class as long as you have access to an Instrumentation instance.022018-11-16
相似问题