mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 12:28:44 +00:00
Move uiautomator params in AndroidUxPerfWorkload
uiautomator parameters are set per instance of a workload and not per iteration. Move uiautomator parameter assignment from setup() to validate().
This commit is contained in:
parent
e686e89b39
commit
cab9d918ab
@ -516,10 +516,13 @@ class AndroidUxPerfWorkload(AndroidUiAutoBenchmark):
|
|||||||
# Turn class attribute into instance attribute
|
# Turn class attribute into instance attribute
|
||||||
self.deployable_assets = list(self.deployable_assets)
|
self.deployable_assets = list(self.deployable_assets)
|
||||||
|
|
||||||
|
def validate(self):
|
||||||
|
super(AndroidUxPerfWorkload, self).validate()
|
||||||
|
self.uiauto_params['markers_enabled'] = self.markers_enabled
|
||||||
|
|
||||||
def setup(self, context):
|
def setup(self, context):
|
||||||
super(AndroidUxPerfWorkload, self).setup(context)
|
super(AndroidUxPerfWorkload, self).setup(context)
|
||||||
self.push_assets(context)
|
self.push_assets(context)
|
||||||
self.uiauto_params['markers_enabled'] = self.markers_enabled
|
|
||||||
|
|
||||||
def teardown(self, context):
|
def teardown(self, context):
|
||||||
super(AndroidUxPerfWorkload, self).teardown(context)
|
super(AndroidUxPerfWorkload, self).teardown(context)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user