Browse files

adbclient: added touchscreen device to swipe for API > 17

- Version 7.0.2
  • Loading branch information...
1 parent d1750d4 commit 93f2e06394d546264be3c4f9b192293817e9fbba @dtmilano committed May 27, 2014
View
2 AndroidViewClient/setup.py
@@ -3,7 +3,7 @@
from setuptools import setup, find_packages
setup(name='androidviewclient',
- version='7.0.1',
+ version='7.0.2',
description='''AndroidViewClient is a 100% pure python tool that
simplifies test script creation providing higher level operations and the ability of
obtaining the tree of Views present at any given moment on the device or emulator screen.
View
4 AndroidViewClient/src/com/dtmilano/android/adb/adbclient.py
@@ -17,7 +17,7 @@
@author: Diego Torres Milano
'''
-__version__ = '5.7.0'
+__version__ = '7.0.2'
import sys
import warnings
@@ -440,7 +440,7 @@ def drag(self, (x0, y0), (x1, y1), duration, steps=1):
elif version <= 17:
self.shell('input swipe %d %d %d %d' % (x0, y0, x1, y1))
else:
- self.shell('input swipe %d %d %d %d %d' % (x0, y0, x1, y1, duration))
+ self.shell('input touchscreen swipe %d %d %d %d %d' % (x0, y0, x1, y1, duration))
def type(self, text):
self.shell(u'input text "%s"' % text)
View
2 AndroidViewClient/tools/culebra
@@ -19,7 +19,7 @@ ___________________/ /__/ /__/ /__/ /________________________________
'''
-__version__ = '7.0.1'
+__version__ = '7.0.2'
import re
import sys
View
2 AndroidViewClient/tools/dump
@@ -6,7 +6,7 @@ Created on Feb 3, 2012
@author: diego
'''
-__version__ = '7.0.1'
+__version__ = '7.0.2'
import sys
import os

0 comments on commit 93f2e06

Please sign in to comment.