(self, v: View, root=None)
| 1019 | return |
| 1020 | |
| 1021 | def longTouchView(self, v: View, root=None) -> None: |
| 1022 | # FIXME: v.longTouch() handles the 2 cases for CulebraTester2-public and adbclient |
| 1023 | # also, we should obtain the selector only once |
| 1024 | v.longTouch() |
| 1025 | if v.uiAutomatorHelper: |
| 1026 | self.printOperation(v, Operation.LONG_TOUCH_VIEW_UI_AUTOMATOR_HELPER, v.obtain_selector()) |
| 1027 | else: |
| 1028 | # we pass root=v as an argument so the corresponding findView*() searches in this |
| 1029 | # subtree instead of the full tree |
| 1030 | self.printOperation(v, Operation.LONG_TOUCH_VIEW, root) |
| 1031 | self.isLongTouchingView = False |
| 1032 | |
| 1033 | def onButton1Pressed(self, event): |
| 1034 | if DEBUG: |
no test coverage detected