gnu: Add java-easymock-class-extension.

* gnu/packages/java.scm (java-easymock-class-extension): New variable.
This commit is contained in:
Liliana Marie Prikler 2023-07-29 16:27:47 +02:00
parent 8b90feffbe
commit 50281136d4
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87

View File

@ -5060,6 +5060,27 @@ mock objects in unit testing.")
;; not exist. ;; not exist.
(delete-file "tests2/EasyMockPropertiesTest.java"))))))))) (delete-file "tests2/EasyMockPropertiesTest.java")))))))))
(define-public java-easymock-class-extension
(package
(inherit java-easymock-3.2)
(name "java-easymock-class-extension")
(build-system ant-build-system)
(arguments
(list #:jar-name "easymock-class-extensions.jar"
#:source-dir "easymock-classextension/src/main/java"
#:test-dir "easymock-classextension/src/test"))
(inputs (list java-asm
java-easymock-3.2
java-cglib
java-objenesis))
(native-inputs
(list java-junit java-hamcrest-core))
(home-page "https://easymock.org/")
(synopsis "Easymock extension to mock classes")
(description "This package provides an extension to earlier versions of
easymock that allows mocking classes.")
(license license:asl2.0)))
(define-public java-jmock-1 (define-public java-jmock-1
(package (package
(name "java-jmock") (name "java-jmock")