summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorelinuxhenrik <henrik.b.andersson@est.tech>2019-06-05 08:54:17 +0000
committerelinuxhenrik <henrik.b.andersson@est.tech>2019-06-05 08:54:17 +0000
commitaddf3f10dd0cc1d0797151633839c65276af8b1c (patch)
tree395552aa46082ccc7f22c0d7540731f7534d5ec9 /pom.xml
parent8cae76ef66f1928b3d5afb9a67bb330c5cd513c4 (diff)
Datafile - Improve JUnit tests
Improve JUnit tests for the Datafile Collector. Add tests of logging. Remove dependency to old JUnit version. Improve some log messages. Improve code coverage. Change-Id: Ie8204619ab7fe4294c4ac0dd8f030973653ef4a3 Issue-ID: DCAEGEN2-1490 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml35
1 files changed, 18 insertions, 17 deletions
diff --git a/pom.xml b/pom.xml
index bdf7111e..e2ff3f51 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,13 +61,13 @@
<!--TEST SETTINGS -->
<surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
<junit-jupiter.version>5.1.0</junit-jupiter.version>
- <junit-vintage.version>5.1.0</junit-vintage.version>
+ <junit.version>5.3.2</junit.version>
<junit-platform.version>1.1.0</junit-platform.version>
- <mockito.version>2.23.0</mockito.version>
+ <mockito.version>2.23.4</mockito.version>
<testng.version>6.14.2</testng.version>
- <stefanbirkner.version>2.0.1</stefanbirkner.version>
<jcraft.version>0.1.54</jcraft.version>
<springfox.version>2.8.0</springfox.version>
+ <awaitility.version>3.1.6</awaitility.version>
<!-- Plugin versions -->
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
@@ -89,16 +89,16 @@
<version>${sdk.version}</version>
</dependency>
<dependency>
- <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
- <artifactId>common-dependency</artifactId>
- <version>${sdk.version}</version>
- </dependency>
- <dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient</artifactId>
<version>${apache.httpcomponents.version}</version>
</dependency>
<dependency>
+ <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
+ <artifactId>common-dependency</artifactId>
+ <version>${sdk.version}</version>
+ </dependency>
+ <dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${apache.commons.version}</version>
@@ -177,12 +177,6 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.junit.vintage</groupId>
- <artifactId>junit-vintage-engine</artifactId>
- <version>${junit-vintage.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
@@ -190,6 +184,12 @@
</dependency>
<dependency>
<groupId>org.mockito</groupId>
+ <artifactId>mockito-junit-jupiter</artifactId>
+ <version>${mockito.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
@@ -207,9 +207,10 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>com.github.stefanbirkner</groupId>
- <artifactId>fake-sftp-server-rule</artifactId>
- <version>${stefanbirkner.version}</version>
+ <groupId>org.awaitility</groupId>
+ <artifactId>awaitility</artifactId>
+ <version>${awaitility.version}</version>
+ <scope>test</scope>
</dependency>
<!--REQUIRED TO GENERATE DOCUMENTATION -->