Merge "Print the checksum of the trace file on failure" am: ef04ccb466
Change-Id: I7fe671a7ef53ef1b95dc17c61d3153de491b0d03
This commit is contained in:
@@ -89,7 +89,7 @@ public class FlickerTestBase {
|
||||
}
|
||||
if (result.screenCaptureVideoExists()) {
|
||||
Log.e(TAG, "Screen capture video saved to " + result
|
||||
.screenCaptureVideo.toString());
|
||||
.screenCaptureVideoPath().toString());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -95,7 +95,7 @@ public class ResizeSplitScreenTest extends NonRotationTestBase {
|
||||
Rect displayBounds = getDisplayBounds();
|
||||
checkResults(result -> {
|
||||
LayersTrace entries = LayersTrace.parseFrom(result.getLayersTrace(),
|
||||
result.getLayersTracePath());
|
||||
result.getLayersTracePath(), result.getLayersTraceChecksum());
|
||||
|
||||
assertThat(entries.getEntries()).isNotEmpty();
|
||||
Rect startingDividerBounds = entries.getEntries().get(0).getVisibleBounds
|
||||
@@ -124,7 +124,7 @@ public class ResizeSplitScreenTest extends NonRotationTestBase {
|
||||
Rect displayBounds = getDisplayBounds();
|
||||
checkResults(result -> {
|
||||
LayersTrace entries = LayersTrace.parseFrom(result.getLayersTrace(),
|
||||
result.getLayersTracePath());
|
||||
result.getLayersTracePath(), result.getLayersTraceChecksum());
|
||||
|
||||
assertThat(entries.getEntries()).isNotEmpty();
|
||||
Rect endingDividerBounds = entries.getEntries().get(
|
||||
|
||||
Reference in New Issue
Block a user