forked from D-Net/dnet-hadoop
code formatting
This commit is contained in:
parent
3e8f6981c4
commit
19b2048109
|
@ -3,16 +3,11 @@ package eu.dnetlib.dhp.application;
|
||||||
import org.apache.commons.io.IOUtils;
|
import org.apache.commons.io.IOUtils;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import java.io.ByteArrayOutputStream;
|
|
||||||
import java.util.Base64;
|
|
||||||
import java.util.zip.GZIPOutputStream;
|
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||||
|
|
||||||
public class ArgumentApplicationParserTest {
|
public class ArgumentApplicationParserTest {
|
||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testParseParameter() throws Exception {
|
public void testParseParameter() throws Exception {
|
||||||
final String jsonConfiguration = IOUtils.toString(this.getClass().getResourceAsStream("/eu/dnetlib/application/parameters.json"));
|
final String jsonConfiguration = IOUtils.toString(this.getClass().getResourceAsStream("/eu/dnetlib/application/parameters.json"));
|
||||||
|
|
|
@ -10,6 +10,6 @@ public class MetadataRecordTest {
|
||||||
public void getTimestamp() {
|
public void getTimestamp() {
|
||||||
|
|
||||||
MetadataRecord r = new MetadataRecord();
|
MetadataRecord r = new MetadataRecord();
|
||||||
assertTrue(r.getDateOfCollection() >0);
|
assertTrue(r.getDateOfCollection() > 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue