mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-10-10 22:04:02 +01:00
Renames sleep() in to sleepSeconds() for clarity.
sleep() in BaseUiauto class renamed to sleepSeconds(). Function calls to sleep() replaced by sleepSeconds() in workloads that call this function. Builds all workloads after sleep() is modified Tested for two devices(s7 and mate8), running five workloads.
This commit is contained in:
@@ -48,7 +48,7 @@ public class UiAutomation extends BaseUiAutomation {
|
||||
.className("android.widget.Button"));
|
||||
waitUntilNoObject(stop_text, 600);
|
||||
|
||||
sleep(2);
|
||||
sleepSeconds(2);
|
||||
this.extractResults();
|
||||
} finally {
|
||||
}
|
||||
@@ -94,7 +94,7 @@ public class UiAutomation extends BaseUiAutomation {
|
||||
if (!label.exists()){
|
||||
resultList.scrollForward();
|
||||
index--;
|
||||
sleep(1);
|
||||
sleepSeconds(1);
|
||||
continue;
|
||||
}
|
||||
Log.v("sqlite", label.getText() + " = " + value.getText().replace("\n", " "));
|
||||
|
Reference in New Issue
Block a user