forked from D-Net/dnet-hadoop
code formatting
This commit is contained in:
parent
cd1b58483e
commit
1b8488976b
|
@ -9,16 +9,16 @@ import java.util.*;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
import eu.dnetlib.dhp.schema.common.ModelConstants;
|
|
||||||
import eu.dnetlib.dhp.schema.common.ModelSupport;
|
|
||||||
import eu.dnetlib.dhp.schema.oaf.utils.OafMapperUtils;
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import com.jayway.jsonpath.DocumentContext;
|
import com.jayway.jsonpath.DocumentContext;
|
||||||
import com.jayway.jsonpath.JsonPath;
|
import com.jayway.jsonpath.JsonPath;
|
||||||
|
|
||||||
|
import eu.dnetlib.dhp.schema.common.ModelConstants;
|
||||||
|
import eu.dnetlib.dhp.schema.common.ModelSupport;
|
||||||
import eu.dnetlib.dhp.schema.oaf.*;
|
import eu.dnetlib.dhp.schema.oaf.*;
|
||||||
|
import eu.dnetlib.dhp.schema.oaf.utils.OafMapperUtils;
|
||||||
|
|
||||||
/** Created by miriam on 02/08/2018. */
|
/** Created by miriam on 02/08/2018. */
|
||||||
public class ResultTagger implements Serializable {
|
public class ResultTagger implements Serializable {
|
||||||
|
|
|
@ -111,7 +111,7 @@ class CommunityConfigurationFactoryTest {
|
||||||
.getCommunityForDatasource(
|
.getCommunityForDatasource(
|
||||||
"openaire____::1cfdb2e14977f31a98e0118283401f32", param);
|
"openaire____::1cfdb2e14977f31a98e0118283401f32", param);
|
||||||
|
|
||||||
//TODO add more assertions
|
// TODO add more assertions
|
||||||
Assertions.assertEquals(0, comm.size());
|
Assertions.assertEquals(0, comm.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -162,6 +162,7 @@ public class IndexRecordTransformerTest {
|
||||||
.toString(getClass().getResourceAsStream("eosc-future/zenodo7351221.xml"));
|
.toString(getClass().getResourceAsStream("eosc-future/zenodo7351221.xml"));
|
||||||
testRecordTransformation(record);
|
testRecordTransformation(record);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void testDoiUrlNormalization() throws MalformedURLException {
|
void testDoiUrlNormalization() throws MalformedURLException {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue