android文档中的TouchUtils类具有以下功能drag():
drag()
https://developer.android.com/reference/android/test/TouchUtils.html#drag(android.test.InstrumentationTestCase,%20float,%20float,%20float,%20float,%20int)
但它们不支持多点触控手势,例如双指滑动.
看看这些MotionEvent.obtain()方法,似乎没有任何方法可以从测试用例中调用"虚拟"多点触摸事件.
MotionEvent.obtain()
有人有工作吗?
testing android multi-touch
android ×1
multi-touch ×1
testing ×1