mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
test(sidecar): implement longPress in snapshot test backend
This commit is contained in:
1 parent
050246448b
commit
ae271b86e0
1 file changed
+1
@@ -62,6 +62,7 @@ class SnapshotHandlerTest {
|
|||||||
override fun inputText(text: String) {}
|
override fun inputText(text: String) {}
|
||||||
override fun swipe(fromX: Int, fromY: Int, toX: Int, toY: Int, durationMillis: Long) {}
|
override fun swipe(fromX: Int, fromY: Int, toX: Int, toY: Int, durationMillis: Long) {}
|
||||||
override fun pressKey(key: String) {}
|
override fun pressKey(key: String) {}
|
||||||
|
override fun longPress(x: Int, y: Int) {}
|
||||||
override fun screenshot(): Triple<ByteArray, Int, Int> {
|
override fun screenshot(): Triple<ByteArray, Int, Int> {
|
||||||
callOrder.add("screenshot")
|
callOrder.add("screenshot")
|
||||||
return Triple(byteArrayOf(1), 0, 0)
|
return Triple(byteArrayOf(1), 0, 0)
|
||||||
|
|||||||
Reference in new issue
Block a user