forked from D-Net/dnet-hadoop
added test to check that separator '-' (not hyphen) will be recognized
This commit is contained in:
parent
3dca586b3b
commit
706a80a29a
|
@ -21,7 +21,7 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
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 {
|
public class PrepareH2020ProgrammeTest {
|
||||||
|
|
||||||
|
@ -132,6 +132,16 @@ public class PrepareH2020ProgrammeTest {
|
||||||
.get(0)
|
.get(0)
|
||||||
.getString(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));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue