mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-03 03:42:35 +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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user