dhp-build tests upgraded to use junit5 Assertions
This commit is contained in:
parent
c02718c10b
commit
56f5a4eeab
|
@ -5,8 +5,7 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import static eu.dnetlib.maven.plugin.properties.GenerateOoziePropertiesMojo.PROPERTY_NAME_SANDBOX_NAME;
|
import static eu.dnetlib.maven.plugin.properties.GenerateOoziePropertiesMojo.PROPERTY_NAME_SANDBOX_NAME;
|
||||||
import static eu.dnetlib.maven.plugin.properties.GenerateOoziePropertiesMojo.PROPERTY_NAME_WF_SOURCE_DIR;
|
import static eu.dnetlib.maven.plugin.properties.GenerateOoziePropertiesMojo.PROPERTY_NAME_WF_SOURCE_DIR;
|
||||||
import static junit.framework.Assert.assertEquals;
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
import static junit.framework.Assert.assertNull;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author mhorst, claudio.atzori
|
* @author mhorst, claudio.atzori
|
||||||
|
|
|
@ -13,7 +13,7 @@ import java.io.*;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
import static eu.dnetlib.maven.plugin.properties.WritePredefinedProjectProperties.PROPERTY_PREFIX_ENV;
|
import static eu.dnetlib.maven.plugin.properties.WritePredefinedProjectProperties.PROPERTY_PREFIX_ENV;
|
||||||
import static junit.framework.Assert.*;
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
import static org.mockito.Mockito.doReturn;
|
import static org.mockito.Mockito.doReturn;
|
||||||
import static org.mockito.Mockito.lenient;
|
import static org.mockito.Mockito.lenient;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue