1
0
Fork 0

dhp-build tests upgraded to use junit5 Assertions

This commit is contained in:
Claudio Atzori 2020-03-25 17:38:31 +01:00
parent c02718c10b
commit 56f5a4eeab
2 changed files with 2 additions and 3 deletions

View File

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

View File

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