diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2020-12-24 18:42:29 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2020-12-24 18:42:29 +0000 |
commit | a0fa9e19b1196bc10034f15474d27ce23bf5865a (patch) | |
tree | 499c1eb427ebff72f7e447d13dd1de1552df8146 /sonar | |
parent | fb012041e8dd788637e68737199bc313b3e90098 (diff) | |
download | poi-a0fa9e19b1196bc10034f15474d27ce23bf5865a.tar.gz poi-a0fa9e19b1196bc10034f15474d27ce23bf5865a.zip |
#65026 - Migrate tests to Junit 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884783 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sonar')
-rw-r--r-- | sonar/integration-test/pom.xml | 6 | ||||
-rw-r--r-- | sonar/ooxml/pom.xml | 6 | ||||
-rw-r--r-- | sonar/pom.xml | 19 |
3 files changed, 9 insertions, 22 deletions
diff --git a/sonar/integration-test/pom.xml b/sonar/integration-test/pom.xml index bfa37a2028..df77176341 100644 --- a/sonar/integration-test/pom.xml +++ b/sonar/integration-test/pom.xml @@ -97,12 +97,6 @@ </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>${junit.version}</version> - <scope>test</scope> - </dependency> - <dependency> <groupId>org.reflections</groupId> <artifactId>reflections</artifactId> <version>0.9.12</version> diff --git a/sonar/ooxml/pom.xml b/sonar/ooxml/pom.xml index 966b3becba..bc8a04de38 100644 --- a/sonar/ooxml/pom.xml +++ b/sonar/ooxml/pom.xml @@ -151,12 +151,6 @@ </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>${junit.version}</version> - <scope>test</scope> - </dependency> - <dependency> <groupId>org.reflections</groupId> <artifactId>reflections</artifactId> <version>0.9.12</version> diff --git a/sonar/pom.xml b/sonar/pom.xml index 1c0ecea23b..3ae96c2475 100644 --- a/sonar/pom.xml +++ b/sonar/pom.xml @@ -80,7 +80,7 @@ <!-- define some of the third-party or plugin-versions globally to use the same in all modules --> <xmlbeans.version>4.0.0</xmlbeans.version> - <junit.version>4.13.1</junit.version> + <junit.version>5.7.0</junit.version> <xmlunit.version>2.8.0</xmlunit.version> <mockito.version>3.6.0</mockito.version> <maven.plugin.resources.version>3.2.0</maven.plugin.resources.version> @@ -110,13 +110,6 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven.plugin.surefire.version}</version> - <dependencies> - <dependency> - <groupId>org.apache.maven.surefire</groupId> - <artifactId>surefire-junit47</artifactId> - <version>${maven.plugin.surefire.version}</version> - </dependency> - </dependencies> <configuration> <printSummary>false</printSummary> <systemPropertyVariables> @@ -164,8 +157,8 @@ <dependencies> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> @@ -181,6 +174,12 @@ <version>${mockito.version}</version> <scope>test</scope> </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest</artifactId> + <version>2.2</version> + <scope>test</scope> + </dependency> </dependencies> <profiles> |