mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-10-24 20:54:05 +01:00
Add setScreenOrientation to BaseUiAutomation class
This allows workloads to be launched in a pre-determined orientation not the orientation of the physical device itself. Updated the productivity workloads to take advantage of this new facility.
This commit is contained in:
@@ -44,17 +44,23 @@ public class UiAutomation extends UxPerfUiAutomation {
|
||||
public void runUiAutomation() throws Exception {
|
||||
parameters = getParams();
|
||||
|
||||
dismissWelcomeView();
|
||||
setScreenOrientation(ScreenOrientation.NATURAL);
|
||||
|
||||
dismissWelcomeView();
|
||||
signInOnline(parameters);
|
||||
<<<<<<< HEAD
|
||||
|
||||
confirmAccess();
|
||||
|
||||
=======
|
||||
confirmLocalFileAccess();
|
||||
>>>>>>> 3991e73... Add setScreenOrientation to BaseUiAutomation class
|
||||
gesturesTest("Getting Started.pdf");
|
||||
|
||||
String[] searchStrings = {"Glossary", "cortex"};
|
||||
searchPdfTest("cortex_m4", searchStrings);
|
||||
|
||||
unsetScreenOrientation();
|
||||
|
||||
writeResultsToFile(timingResults, parameters.getString("output_file"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user