public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/fop/
Date: Sun, 10 Apr 2022 15:16:41 +0000 (UTC)	[thread overview]
Message-ID: <1649603573.ad23555f42b141a10663229c379349a6408b02c5.flow@gentoo> (raw)

commit:     ad23555f42b141a10663229c379349a6408b02c5
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Apr  5 18:06:30 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Apr 10 15:12:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad23555f

dev-java/fop: Enable tests on fop-core

Closes: https://bugs.gentoo.org/836752
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/24920
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/fop/fop-2.7.ebuild | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/dev-java/fop/fop-2.7.ebuild b/dev-java/fop/fop-2.7.ebuild
index b6bc2ad9ebca..01d732a46cb4 100644
--- a/dev-java/fop/fop-2.7.ebuild
+++ b/dev-java/fop/fop-2.7.ebuild
@@ -31,7 +31,7 @@ DEPEND="${CP_DEPEND}
 	dev-java/ant-core:0
 	dev-java/sun-jai-bin:0
 	test? (
-		dev-java/mockito:0
+		dev-java/mockito:4
 		dev-java/pdfbox:0
 		dev-java/xmlunit:1
 	)
@@ -119,7 +119,7 @@ src_compile() {
 }
 
 src_test() {
-	JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito,pdfbox,xmlunit-1"
+	JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4,pdfbox,xmlunit-1"
 
 	JAVA_TEST_SRC_DIR="fop-events/src/test/java"
 	JAVA_TEST_RUN_ONLY="org.apache.fop.events.BasicEventTestCase"
@@ -130,13 +130,14 @@ src_test() {
 
 	java-pkg-simple_src_test
 
+	sed \
+		-e 's:verifyZeroInteractions:verifyNoInteractions:' \
+		-i fop-core/src/test/java/org/apache/fop/render/intermediate/BorderPainterTestCase.java || die
+
 	JAVA_TEST_SRC_DIR="fop-core/src/test/java"
 	JAVA_TEST_RESOURCE_DIRS="fop-core/src/test/resources"
 
-	# Testing fop-core seems to want a newer mockito:
-	# error: cannot find symbol
-	# import static org.mockito.ArgumentMatchers.anyInt;
-#	java-pkg-simple_src_test
+	java-pkg-simple_src_test
 }
 
 src_install() {


             reply	other threads:[~2022-04-10 15:16 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-10 15:16 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-09 10:18 [gentoo-commits] repo/gentoo:master commit in: dev-java/fop/ Florian Schmaus
2024-12-09 10:18 Florian Schmaus
2024-04-17  9:36 Miroslav Šulc
2024-04-17  9:20 Miroslav Šulc
2024-02-22 13:45 Miroslav Šulc
2024-02-22 13:45 Miroslav Šulc
2024-02-22  4:45 Ionen Wolkens
2024-02-06 19:32 Arthur Zamarin
2024-02-06 19:29 Sam James
2024-02-06  9:43 Miroslav Šulc
2023-05-10  4:58 Miroslav Šulc
2023-05-09  5:52 Arthur Zamarin
2023-05-07 13:40 Jakov Smolić
2023-05-07 11:45 Sam James
2023-04-05 10:56 Miroslav Šulc
2023-04-04 19:57 Arthur Zamarin
2023-04-04 19:32 Arthur Zamarin
2023-04-03 21:40 Sam James
2023-04-01  5:25 Miroslav Šulc
2022-05-07 17:54 Arthur Zamarin
2022-05-06  9:23 Jakov Smolić
2022-05-06  9:23 Jakov Smolić
2022-04-12 18:30 Arthur Zamarin
2017-10-27 20:21 Patrice Clement
2017-10-27 19:21 Patrice Clement
2017-10-27 19:21 Patrice Clement
2017-10-27 19:21 Patrice Clement
2016-02-18  9:05 James Le Cuirot
2016-02-18  9:05 James Le Cuirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1649603573.ad23555f42b141a10663229c379349a6408b02c5.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox