mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Test: Add debug info to debug test failure
I wasn't able to reproduce the error in the bug by running videoTranscoding_withTextureInput_completesWithCorrectFrameCountAndDuration 100 times, but I figured this added debug info may help the next time the issue is seen. PiperOrigin-RevId: 558118443
This commit is contained in:
parent
107e41b387
commit
030d8148ba
1 changed files with 3 additions and 1 deletions
|
|
@ -86,7 +86,9 @@ public final class ExportResult {
|
||||||
*/
|
*/
|
||||||
@CanIgnoreReturnValue
|
@CanIgnoreReturnValue
|
||||||
public Builder setFileSizeBytes(long fileSizeBytes) {
|
public Builder setFileSizeBytes(long fileSizeBytes) {
|
||||||
checkArgument(fileSizeBytes > 0 || fileSizeBytes == C.LENGTH_UNSET);
|
checkArgument(
|
||||||
|
fileSizeBytes > 0 || fileSizeBytes == C.LENGTH_UNSET,
|
||||||
|
"Invalid file size = " + fileSizeBytes);
|
||||||
this.fileSizeBytes = fileSizeBytes;
|
this.fileSizeBytes = fileSizeBytes;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue