[stats wf] indicators across stats dbs & updates in the org ids #248

Closed
dimitris.pierrakos wants to merge 1742 commits from beta into beta2master_sept_2022
1 changed files with 26 additions and 23 deletions
Showing only changes of commit 4fe7888817 - Show all commits

View File

@ -1,19 +1,22 @@
package eu.dnetlib.dhp.blacklist;
import eu.dnetlib.dhp.schema.common.ModelSupport; package eu.dnetlib.dhp.blacklist;
import eu.dnetlib.dhp.schema.common.RelationInverse;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import eu.dnetlib.dhp.schema.common.ModelSupport;
import eu.dnetlib.dhp.schema.common.RelationInverse;
public class BlacklistRelationTest { public class BlacklistRelationTest {
@Test @Test
public void testRelationInverseLookup() { public void testRelationInverseLookup() {
final List<String> rels = Arrays.asList( final List<String> rels = Arrays
.asList(
"resultResult_relationship_IsRelatedTo", "resultResult_relationship_IsRelatedTo",
"resultOrganization_affiliation_isAuthorInstitutionOf", "resultOrganization_affiliation_isAuthorInstitutionOf",
"resultOrganization_affiliation_hasAuthorInstitution", "resultOrganization_affiliation_hasAuthorInstitution",