forked from D-Net/dnet-hadoop
[master] refactoring
This commit is contained in:
parent
d9506035e4
commit
e4b27182d0
|
@ -1023,7 +1023,6 @@ class MappersTest {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void assertValidId(final String id) {
|
private void assertValidId(final String id) {
|
||||||
// System.out.println(id);
|
// System.out.println(id);
|
||||||
|
|
||||||
|
|
|
@ -136,9 +136,11 @@ public class IndexRecordTransformerTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testForEdithDemoCovid() throws IOException, TransformerException {
|
public void testForEdithDemoCovid() throws IOException, TransformerException {
|
||||||
final String record = IOUtils.toString(getClass().getResourceAsStream("edith-demo/10.3390-pr9111967-covid.xml"));
|
final String record = IOUtils
|
||||||
|
.toString(getClass().getResourceAsStream("edith-demo/10.3390-pr9111967-covid.xml"));
|
||||||
testRecordTransformation(record);
|
testRecordTransformation(record);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testForEdithDemoEthics() throws IOException, TransformerException {
|
public void testForEdithDemoEthics() throws IOException, TransformerException {
|
||||||
final String record = IOUtils.toString(getClass().getResourceAsStream("edith-demo/10.2196-33081-ethics.xml"));
|
final String record = IOUtils.toString(getClass().getResourceAsStream("edith-demo/10.2196-33081-ethics.xml"));
|
||||||
|
|
Loading…
Reference in New Issue