Summary: | dev-java/fop-2.7: does not enable tests of module fop-core due to absence of a suitable mockito version | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Volkmar W. Pogatzki <gentoo> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fordfrog |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/24920 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 784263 | ||
Attachments: |
Build log with mockito 4.4.0
build log |
Description
Volkmar W. Pogatzki
2022-04-04 08:13:26 UTC
Created attachment 768905 [details]
Build log with mockito 4.4.0
With mockito 4.4.0 the errors are:
* Compiling ...
warning: [options] bootstrap class path not set in conjunction with -source 8
fop-core/src/test/java/org/apache/fop/render/intermediate/BorderPainterTestCase.java:33: error: cannot find symbol
import static org.mockito.Mockito.verifyZeroInteractions;
^
symbol: static verifyZeroInteractions
location: class Mockito
fop-core/src/test/java/org/apache/fop/render/intermediate/BorderPainterTestCase.java:99: error: cannot find symbol
verifyZeroInteractions(graphicsPainter);
^
symbol: method verifyZeroInteractions(GraphicsPainter)
location: class BorderPainterTestCase
fop-core/src/test/java/org/apache/fop/render/intermediate/BorderPainterTestCase.java:122: error: cannot find symbol
verifyZeroInteractions(graphicsPainter);
^
symbol: method verifyZeroInteractions(GraphicsPainter)
location: class BorderPainterTestCase
Created attachment 769016 [details]
build log
With mockito-4.4.0:4 I am getting NPEs
Comment on attachment 769016 [details]
build log
Invalid, wrong bug number, sorry.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad23555f42b141a10663229c379349a6408b02c5 commit ad23555f42b141a10663229c379349a6408b02c5 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-04-05 18:06:30 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-04-10 15:12:53 +0000 dev-java/fop: Enable tests on fop-core Closes: https://bugs.gentoo.org/836752 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24920 Signed-off-by: Florian Schmaus <flow@gentoo.org> dev-java/fop/fop-2.7.ebuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) |