You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by st...@apache.org on 2018/02/20 10:35:33 UTC
[2/9] commons-rdf git commit: Use mockito to test RDF interfaces
Use mockito to test RDF interfaces
Project: http://git-wip-us.apache.org/repos/asf/commons-rdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rdf/commit/ae42ac33
Tree: http://git-wip-us.apache.org/repos/asf/commons-rdf/tree/ae42ac33
Diff: http://git-wip-us.apache.org/repos/asf/commons-rdf/diff/ae42ac33
Branch: refs/heads/fluent-parser
Commit: ae42ac33fecf755d337aecdf338f089884fe9652
Parents: b08b5bc
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Tue Feb 20 09:32:54 2018 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Tue Feb 20 09:32:54 2018 +0000
----------------------------------------------------------------------
pom.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rdf/blob/ae42ac33/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 06cc58c..6bdd79c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,6 +73,9 @@
<!-- Test dependencies -->
<slf4j.version>1.7.25</slf4j.version>
<junit.version>4.12</junit.version>
+ <!-- temporarily downgraded mockito as 2.15.0 fails with
+ NoClassDefFound net.bytebuddy.dynamic.loading.ClassLoadingStrategy -->
+ <mockito.version>2.13.0</mockito.version>
<skipAPICompatCheck>false</skipAPICompatCheck>
</properties>
@@ -252,6 +255,11 @@
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-core</artifactId>
+ <version>${mockito.version}</version>
+ </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
@@ -276,6 +284,11 @@
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-core</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>