gnu: Add java-powermock-modules-junit4.

* gnu/packages/java.scm (java-powermock-modules-junit4): New variable.
This commit is contained in:
Julien Lepiller 2017-10-25 23:38:36 +02:00
parent 6c21d46c70
commit 33db168181
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 22 additions and 0 deletions

View File

@ -6874,3 +6874,25 @@ done to the IDE or continuous integration servers which simplifies adoption.")
("reflect" ,java-powermock-reflect) ("reflect" ,java-powermock-reflect)
("hamcrest" ,java-hamcrest-core) ("hamcrest" ,java-hamcrest-core)
("cglib" ,java-cglib))))) ("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)))))