1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 10:51:13 +01:00

Move package parameters to UxperfUiAutomation

All the uxperf workloads get some common package parameters.
These are moved to the parent class and a new method is introduced to fill
these parameter values. All the uxperf workloads can call this method to resolve
the package parameters.
This commit is contained in:
jummp01 2017-01-31 17:34:45 +00:00
parent 65aa00483b
commit 4ce20e2d3f
4 changed files with 11 additions and 0 deletions

View File

@ -16,8 +16,19 @@
package com.arm.wlauto.uiauto;
import java.util.logging.Logger;
import android.os.Bundle;
public class UxPerfUiAutomation extends BaseUiAutomation {
protected Bundle parameters;
protected String packageName;
protected String packageID;
//Get application package parameters and create package ID
public void getPackageParameters() {
packageName = parameters.getString("package");
packageID = packageName + ":id/";
}
private Logger logger = Logger.getLogger(UxPerfUiAutomation.class.getName());