HomePhabricator

Add test for FileImporter\Data\ImportDetails

Description

Add test for FileImporter\Data\ImportDetails

This is basically just a very trivial value class. But I found the
hashing feature crucial and a lot of test cases to make sure the hash
really changes with every single field.

Note to reviewer: Please have a look at the imageDisplayUrl field! Do
you think it is correct for this field to not be part of the hash
calculation?

Bug: T190290
Change-Id: I1c7420bbe1b0655467d4690090041edb498e4a85

Details

Provenance
thiemowmdeAuthored on May 9 2018, 11:03 AM
Parents
rEFLIdd61b13824b1: Merge "Add tests for FileChunkSaver"
Branches
Unknown
Tags
Unknown
ChangeId
I1c7420bbe1b0655467d4690090041edb498e4a85