code formatting

This commit is contained in:
Claudio Atzori 2022-12-07 10:45:38 +01:00
parent cd1b58483e
commit 1b8488976b
5 changed files with 32 additions and 31 deletions

View File

@ -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 {

View File

@ -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());
} }

View File

@ -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 {