From b7d0f9fafeeeb0d63e2e7e8df36a6e92c7a96821 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Fri, 14 Feb 2020 13:19:10 +0000 Subject: [PATCH] update junit to 4.13 and mockito to 3.2.4 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874019 13f79535-47bb-0310-9956-ffa450edef68 --- .classpath | 4 ++-- build.gradle | 16 ++++++++-------- build.xml | 10 ++++++---- maven/poi.pom | 2 +- osgi/pom.xml | 2 +- 5 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.classpath b/.classpath index 3ec3aa2132..7657c421d8 100644 --- a/.classpath +++ b/.classpath @@ -20,7 +20,7 @@ - + @@ -41,7 +41,7 @@ - + diff --git a/build.gradle b/build.gradle index ffbb415254..524fa4516a 100644 --- a/build.gradle +++ b/build.gradle @@ -44,7 +44,7 @@ configurations { } dependencies { - antLibs("junit:junit:4.12") + antLibs("junit:junit:4.13") antLibs("org.apache.ant:ant-junit:1.10.4") antLibs("org.apache.ant:ant-junit4:1.10.4") } @@ -187,8 +187,8 @@ project('main') { implementation 'javax.activation:activation:1.1.1' implementation 'com.zaxxer:SparseBitSet:1.2' - testImplementation 'junit:junit:4.12' - testImplementation 'org.mockito:mockito-core:3.0.0' + testImplementation 'junit:junit:4.13' + testImplementation 'org.mockito:mockito-core:3.2.4' testImplementation 'org.reflections:reflections:0.9.11' } @@ -245,15 +245,15 @@ project('ooxml') { implementation 'org.apache.xmlgraphics:xmlgraphics-commons:2.3' // for ooxml-lite, should we move this somewhere else? - implementation 'junit:junit:4.12' + implementation 'junit:junit:4.13' implementation project(':main') implementation project(':scratchpad') // TODO: get rid of this dependency! implementation files('../../ooxml-lib/ooxml-schemas-1.4.jar') implementation files('../../ooxml-lib/ooxml-security-1.1.jar') - testImplementation 'junit:junit:4.12' - testImplementation 'org.mockito:mockito-core:3.0.0' + testImplementation 'junit:junit:4.13' + testImplementation 'org.mockito:mockito-core:3.2.4' testImplementation 'org.xmlunit:xmlunit-core:2.5.1' testImplementation 'org.reflections:reflections:0.9.11' testImplementation project(path: ':main', configuration: 'tests') @@ -316,7 +316,7 @@ project('integrationtest') { implementation project(':scratchpad') implementation project(':examples') - testImplementation 'junit:junit:4.12' + testImplementation 'junit:junit:4.13' } jar { @@ -353,7 +353,7 @@ project('scratchpad') { // cyclic-dependency here: implementation project(':ooxml') - testImplementation 'junit:junit:4.12' + testImplementation 'junit:junit:4.13' testImplementation project(path: ':main', configuration: 'tests') } diff --git a/build.xml b/build.xml index 3448b2df39..b86e4ae1b4 100644 --- a/build.xml +++ b/build.xml @@ -177,8 +177,8 @@ under the License. value="${repository.m2}/maven2/commons-codec/commons-codec/1.13/commons-codec-1.13.jar"/> - - + + @@ -188,8 +188,8 @@ under the License. - - + + @@ -681,6 +681,7 @@ under the License. + @@ -688,6 +689,7 @@ under the License. + diff --git a/maven/poi.pom b/maven/poi.pom index a3d15a8b0b..87a4371715 100644 --- a/maven/poi.pom +++ b/maven/poi.pom @@ -104,7 +104,7 @@ junit junit test - 4.12 + 4.13 diff --git a/osgi/pom.xml b/osgi/pom.xml index 315182e004..6f57c36374 100644 --- a/osgi/pom.xml +++ b/osgi/pom.xml @@ -65,7 +65,7 @@ junit junit - 4.12 + 4.13 org.ops4j.pax.exam