mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00:00
Add version number to serialized DownloadAction data
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=169681768
This commit is contained in:
parent
4fb18453e1
commit
1f8a8dbfa3
1 changed files with 2 additions and 1 deletions
|
|
@ -135,7 +135,8 @@ public class ProgressiveDownloadActionTest {
|
|||
|
||||
ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
|
||||
DataInputStream input = new DataInputStream(in);
|
||||
DownloadAction action2 = ProgressiveDownloadAction.DESERIALIZER.readFromStream(input);
|
||||
DownloadAction action2 =
|
||||
ProgressiveDownloadAction.DESERIALIZER.readFromStream(action1.getVersion(), input);
|
||||
|
||||
assertThat(action2).isEqualTo(action1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue