Commit 1f8a8dbf by eguven Committed by Oliver Woodman

Add version number to serialized DownloadAction data

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=169681768
parent 4fb18453
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment