mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 03:12:34 +01:00
templates: Add parameter example to UiAutomator template.
Add additional information to the UiAutomator template for retrieving parameters.
This commit is contained in:
@@ -25,13 +25,17 @@ import com.arm.wa.uiauto.BaseUiAutomation;
|
||||
public class UiAutomation extends BaseUiAutomation {
|
||||
|
||||
protected Bundle parameters;
|
||||
protected String packageID;
|
||||
protected int example_parameter;
|
||||
|
||||
public static String TAG = "${name}";
|
||||
|
||||
@Before
|
||||
public void initialize() throws Exception {
|
||||
parameters = getParams();
|
||||
// Perform any parameter initialization here
|
||||
parameters = getParams();
|
||||
packageID = getPackageID(parameters);
|
||||
example_parameter = parameters.getInt("example_parameter");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user