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
@ -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…
x
Reference in New Issue
Block a user