mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 15:12:25 +00:00 
			
		
		
		
	BenchmarkPi: Updated for uiauto2 refactor
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| <?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||||||
|     package="com.arm.wlauto.uiauto.benchmarkpi" |     package="com.arm.wa.uiauto.benchmarkpi" | ||||||
|     android:versionCode="1" |     android:versionCode="1" | ||||||
|     android:versionName="1.0"> |     android:versionName="1.0"> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -33,6 +33,9 @@ public class UiAutomation extends BaseUiAutomation { | |||||||
|  |  | ||||||
|     public static String TAG = "benchmarkpi"; |     public static String TAG = "benchmarkpi"; | ||||||
|  |  | ||||||
|  |     public Bundle parameters; | ||||||
|  |     public String packageID; | ||||||
|  |  | ||||||
|     @Test |     @Test | ||||||
|     public void runWorkload() throws Exception { |     public void runWorkload() throws Exception { | ||||||
|         startTest(); |         startTest(); | ||||||
|   | |||||||
| @@ -29,7 +29,7 @@ if [[ ! -f gradlew ]]; then | |||||||
|     exit 9 |     exit 9 | ||||||
| fi | fi | ||||||
|  |  | ||||||
| # Copy base class library from wlauto dist | # Copy base class library from wa dist | ||||||
| libs_dir=app/libs | libs_dir=app/libs | ||||||
| base_class=`python -c "import os, wa; print os.path.join(os.path.dirname(wa.__file__), 'framework', 'uiauto', 'uiauto.aar')"` | base_class=`python -c "import os, wa; print os.path.join(os.path.dirname(wa.__file__), 'framework', 'uiauto', 'uiauto.aar')"` | ||||||
| mkdir -p $libs_dir | mkdir -p $libs_dir | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user