mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-10-30 06:34:13 +00:00
UiAutomatorWorkloads: Updated to use the new parameter passing functionality.
Each workload has be modfied to remove the old manual paremeter conversion and instead to retrieve the desired type from the parameter bundle directly.
This commit is contained in:
Binary file not shown.
@@ -43,8 +43,8 @@ public class UiAutomation extends BaseUiAutomation {
|
||||
String version = parameters.getString("version");
|
||||
String useCase = parameters.getString("use_case").replace('_', ' ');
|
||||
String variant = parameters.getString("variant").replace('_', ' ');
|
||||
int iterations = Integer.parseInt(parameters.getString("iterations"));
|
||||
int testTimeoutSeconds = Integer.parseInt(parameters.getString("timeout"));
|
||||
int iterations = parameters.getInt("iterations");
|
||||
int testTimeoutSeconds = parameters.getInt("timeout");
|
||||
if (iterations < 1)
|
||||
iterations = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user