|
|
|
@ -85,7 +85,7 @@ public class IndexRecordTransformerTest {
|
|
|
|
|
public void testRiunet() throws IOException, TransformerException {
|
|
|
|
|
|
|
|
|
|
final XmlRecordFactory xmlRecordFactory = new XmlRecordFactory(contextMapper, false,
|
|
|
|
|
XmlConverterJob.schemaLocation);
|
|
|
|
|
XmlConverterJob.schemaLocation);
|
|
|
|
|
|
|
|
|
|
final Publication p = load("riunet.json", Publication.class);
|
|
|
|
|
|
|
|
|
@ -95,7 +95,6 @@ public class IndexRecordTransformerTest {
|
|
|
|
|
testRecordTransformation(record);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void testForEOSCFutureDataTransferPilot() throws IOException, TransformerException {
|
|
|
|
|
final String record = IOUtils.toString(getClass().getResourceAsStream("eosc-future/data-transfer-pilot.xml"));
|
|
|
|
@ -129,8 +128,6 @@ public class IndexRecordTransformerTest {
|
|
|
|
|
testRecordTransformation(record);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
void testDoiUrlNormalization() throws MalformedURLException {
|
|
|
|
|
|
|
|
|
|