mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04:17 +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.
										
									
								
							| @@ -45,9 +45,9 @@ public class UiAutomation extends BaseUiAutomation { | ||||
|         Bundle parameters = getParams(); | ||||
|  | ||||
|         String version = parameters.getString("version"); | ||||
|         boolean enableSdTests = Boolean.parseBoolean(parameters.getString("enable_sd_tests")); | ||||
|         boolean enableSdTests = parameters.getBoolean("enable_sd_tests"); | ||||
|  | ||||
|         int times = Integer.parseInt(parameters.getString("times")); | ||||
|         int times = parameters.getInt("times"); | ||||
|         if (times < 1) { | ||||
|                 times = 1; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user