1
0
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:
jummp01
2016-11-15 11:53:47 +00:00
parent 40d281b336
commit 169c1ed28f
28 changed files with 102 additions and 103 deletions

View File

@@ -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", " "));