summaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-07-29 16:27:47 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-08-05 13:39:44 +0200
commit50281136d41c8e7953b8ea3d4b25b441d904d5df (patch)
tree5bf937b6300ad0f8bb32fdde7d6e4e6d594a0baa /gnu/packages/java.scm
parent8b90feffbef98de2de1340fc8b59c1b48834ba68 (diff)
gnu: Add java-easymock-class-extension.
* gnu/packages/java.scm (java-easymock-class-extension): New variable.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 22ca2faf13..f3cc4822b2 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5060,6 +5060,27 @@ mock objects in unit testing.")
;; not exist.
(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
(package
(name "java-jmock")