Use TotalTime instead of ThisTime in app launch test
Bug: 62272543 Test: Tested with calculator and facebook messenger launch Change-Id: Ide4e844e54428edcb7e3356cb3d0492392f6bde3
This commit is contained in:
@@ -664,7 +664,8 @@ public class AppLaunch extends InstrumentationTestCase {
|
||||
if (lineCount == 2 && line.contains(SUCCESS_MESSAGE)) {
|
||||
launchSuccess = true;
|
||||
}
|
||||
if (launchSuccess && lineCount == 4) {
|
||||
// Parse TotalTime which is the launch time
|
||||
if (launchSuccess && lineCount == 5) {
|
||||
String launchSplit[] = line.split(":");
|
||||
launchTime = launchSplit[1].trim();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user