1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-06-19 23:05:58 +01:00

Uiautomator: Upgraded uiautomator base classes to Uiauto2

Uiautomator1 has been deprecated, therefore the uiautomation base classes have
been upgraded to use uiautomator2 and the new gradle build system.
Altered to retrieve `package_name` rather than `package` as per the previous commit.
This commit is contained in:
Marc Bonnici
2017-05-30 17:26:14 +01:00
parent 138c95745e
commit 076772da4d
29 changed files with 431 additions and 208 deletions

@ -43,12 +43,12 @@ class ApkFile(FileResource):
return '<{}\'s {} APK>'.format(self.owner, self.platform)
class UiautoApkFile(FileResource):
class uiautoApkFile(FileResource):
name = 'uiautoapk'
def __init__(self, owner, platform=None):
super(UiautoApkFile, self).__init__(owner)
super(uiautoApkFile, self).__init__(owner)
self.platform = platform
def __str__(self):