Add tests for IPublisherInfo.A_NO_MD5 contract
When creating an artifact descriptor with PublisherHelper,
createArtifactDescriptor(IPublisherInfo, IArtifactRepository,
IArtifactKey, File) will generate MD5 hash if
(info == null || (info.getArtifactOptions() & IPublisherInfo.A_NO_MD5) == 0)
is true.
As current tests cover only 1 out of 4 this condition's branches, add
tests for missing branches that assert IPublisherInfo.A_NO_MD5 contract.
Change-Id: I9912f01294cee8288a61520086d590f62524fff9
Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
1 file changed