mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
framework/workload: Rename ReventWorkload to ApkReventWorkload
To reflect that the current implementation of ReventWorkload uses an APK file on the device the name has been changed appropriately and the relevant workloads have been updated.
This commit is contained in:
parent
0778766c8b
commit
0f28a07476
@ -14,4 +14,4 @@ from wa.framework.plugin import Plugin, Parameter
|
||||
from wa.framework.processor import ResultProcessor
|
||||
from wa.framework.resource import (NO_ONE, JarFile, ApkFile, ReventFile, File,
|
||||
Executable)
|
||||
from wa.framework.workload import Workload, ApkWorkload, ApkUiautoWorkload, ReventWorkload
|
||||
from wa.framework.workload import Workload, ApkWorkload, ApkUiautoWorkload, ApkReventWorkload
|
||||
|
@ -316,7 +316,7 @@ class ApkUiautoWorkload(ApkUIWorkload):
|
||||
super(ApkUiautoWorkload, self).setup(context)
|
||||
|
||||
|
||||
class ReventWorkload(ApkUIWorkload):
|
||||
class ApkReventWorkload(ApkUIWorkload):
|
||||
|
||||
# May be optionally overwritten by subclasses
|
||||
# Times are in seconds
|
||||
@ -326,7 +326,7 @@ class ReventWorkload(ApkUIWorkload):
|
||||
teardown_timeout = 5 * 60
|
||||
|
||||
def __init__(self, target, **kwargs):
|
||||
super(ReventWorkload, self).__init__(target, **kwargs)
|
||||
super(ApkReventWorkload, self).__init__(target, **kwargs)
|
||||
self.apk = PackageHandler(self)
|
||||
self.gui = ReventGUI(self, target,
|
||||
self.setup_timeout,
|
||||
|
@ -14,10 +14,10 @@
|
||||
#
|
||||
|
||||
|
||||
from wa import ReventWorkload
|
||||
from wa import ApkReventWorkload
|
||||
|
||||
|
||||
class AngryBirdsRio(ReventWorkload):
|
||||
class AngryBirdsRio(ApkReventWorkload):
|
||||
|
||||
name = 'angrybirds_rio'
|
||||
description = """
|
||||
|
@ -14,10 +14,10 @@
|
||||
#
|
||||
|
||||
|
||||
from wa import ReventWorkload
|
||||
from wa import ApkReventWorkload
|
||||
|
||||
|
||||
class TempleRun2(ReventWorkload):
|
||||
class TempleRun2(ApkReventWorkload):
|
||||
|
||||
name = 'templerun2'
|
||||
description = """
|
||||
|
Loading…
x
Reference in New Issue
Block a user