test for software merge

This commit is contained in:
Alessia Bardi 2020-07-08 17:03:53 +02:00
parent e2ea30f89d
commit 853e8d7987
2 changed files with 13 additions and 0 deletions

View File

@ -45,6 +45,16 @@ public class EntityMergerTest implements Serializable {
} }
@Test
public void softwareMergerTest() throws InstantiationException, IllegalAccessException {
List<Tuple2<String, Software>> softwares = readSample(testEntityBasePath + "/software_merge.json", Software.class);
Software merged = DedupRecordFactory
.entityMerger(dedupId, softwares.iterator(), 0, dataInfo, Software.class);
System.out.println(merged.getBestaccessright().getClassid());
}
@Test @Test
public void publicationMergerTest() throws InstantiationException, IllegalAccessException { public void publicationMergerTest() throws InstantiationException, IllegalAccessException {

File diff suppressed because one or more lines are too long