summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-10-25 23:38:36 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-11-02 13:07:27 +0100
commit33db1681816e8e1ce2df685e2c29e255d33fdf58 (patch)
tree414cb72e521cc659f3c84b5eb6e3230bef31dfd7
parent6c21d46c70b2a0912d1adab82e0ef74bace5605f (diff)
downloadguix-33db1681816e8e1ce2df685e2c29e255d33fdf58.tar.gz
gnu: Add java-powermock-modules-junit4.
* gnu/packages/java.scm (java-powermock-modules-junit4): New variable.
-rw-r--r--gnu/packages/java.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 77e34a2f90..329d2ad815 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -6874,3 +6874,25 @@ done to the IDE or continuous integration servers which simplifies adoption.")
        ("reflect" ,java-powermock-reflect)
        ("hamcrest" ,java-hamcrest-core)
        ("cglib" ,java-cglib)))))
+
+(define-public java-powermock-modules-junit4
+  (package
+    (inherit java-powermock-reflect)
+    (name "java-powermock-modules-junit4")
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "java-powermock-modules-junit4.jar"
+       #:jdk ,icedtea-8
+       #:source-dir "powermock-modules/powermock-module-junit4/src/main/java"
+       #:test-dir "powermock-modules/powermock-module-junit4/src/test"))
+    (inputs
+     `(("core" ,java-powermock-core)
+       ("reflect" ,java-powermock-reflect)
+       ("common" ,java-powermock-modules-junit4-common)
+       ("cglib" ,java-cglib)))
+    (native-inputs
+     `(("easymock" ,java-easymock)
+       ("hamcrest" ,java-hamcrest-core)
+       ("objenesis" ,java-objenesis)
+       ("asm" ,java-asm)
+       ("junit" ,java-junit)))))