mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00: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:
parent
65aa00483b
commit
4ce20e2d3f
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user