Adding H2020 Classification, topic code and topic description to H2020 projects #46

Merged
claudio.atzori merged 59 commits from miriam.baglioni/dnet-hadoop:h2020classification into master 2020-10-05 14:14:39 +02:00
1 changed files with 11 additions and 1 deletions
Showing only changes of commit 706a80a29a - Show all commits

View File

@ -21,7 +21,7 @@ import org.slf4j.LoggerFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import eu.dnetlib.dhp.actionmanager.project.csvutils.CSVProgramme;
import eu.dnetlib.dhp.actionmanager.project.utils.CSVProgramme;
public class PrepareH2020ProgrammeTest {
@ -132,6 +132,16 @@ public class PrepareH2020ProgrammeTest {
.get(0)
.getString(0));
Assertions
.assertEquals(
"Industrial leadership | Leadership in enabling and industrial technologies | Biotechnology",
verificationDataset
.filter("code = 'H2020-EU.2.1.4.'")
.select("classification")
.collectAsList()
.get(0)
.getString(0));
}
}