Merge "Use TotalTime instead of ThisTime in app launch test" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cbf19dcd76
@@ -664,7 +664,8 @@ public class AppLaunch extends InstrumentationTestCase {
|
|||||||
if (lineCount == 2 && line.contains(SUCCESS_MESSAGE)) {
|
if (lineCount == 2 && line.contains(SUCCESS_MESSAGE)) {
|
||||||
launchSuccess = true;
|
launchSuccess = true;
|
||||||
}
|
}
|
||||||
if (launchSuccess && lineCount == 4) {
|
// Parse TotalTime which is the launch time
|
||||||
|
if (launchSuccess && lineCount == 5) {
|
||||||
String launchSplit[] = line.split(":");
|
String launchSplit[] = line.split(":");
|
||||||
launchTime = launchSplit[1].trim();
|
launchTime = launchSplit[1].trim();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user