mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 12:24:32 +00:00
UxPerfUiAutomation: Added setWorkloadParameters and getPackageID.
To work around appshare requiring access to protected variables of a workload, a `setWorkloadParameters` method has been added to manually supply a parameter bundle, and a `getPackageID` method to retrieve a workloads package ID.
This commit is contained in:
parent
96c6f010f8
commit
6ffed382cf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -30,6 +30,16 @@ public class UxPerfUiAutomation extends BaseUiAutomation {
|
||||
packageID = packageName + ":id/";
|
||||
}
|
||||
|
||||
public void setWorkloadParameters(Bundle parameters, String packageName, String packageID){
|
||||
this.parameters = parameters;
|
||||
this.packageName = packageName;
|
||||
this.packageID = packageID;
|
||||
}
|
||||
|
||||
public String getPackageID(){
|
||||
return packageID;
|
||||
}
|
||||
|
||||
private Logger logger = Logger.getLogger(UxPerfUiAutomation.class.getName());
|
||||
|
||||
public enum GestureType { UIDEVICE_SWIPE, UIOBJECT_SWIPE, PINCH };
|
||||
|
Loading…
x
Reference in New Issue
Block a user