https://bugzilla.redhat.com/show_bug.cgi?id=1835508
Bug ID: 1835508
Summary: powermock tests incompatible with assertj-core 3.11.0+
Product: Fedora
Version: rawhide
Status: NEW
Component: powermock
Assignee: rkennke(a)redhat.com
Reporter: decathorpe(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: dingyichen(a)gmail.com,
java-sig-commits(a)lists.fedoraproject.org,
jerboaa(a)gmail.com, neugens(a)redhat.com,
rkennke(a)redhat.com
Target Milestone: ---
Classification: Fedora
I've tried to update assertj-core to the latest version, but there have been
minor API changes that powermock does not seem to be compatible with:
https://copr.fedorainfracloud.org/coprs/decathorpe/assertj-core-fixes-pr/...
The first issues seems to be caused by this upstream commit:
https://github.com/joel-costigliola/assertj-core/commit/de6e751563640c7d1...
In this file:
powermock-core/src/test/java/org/powermock/core/classloader/MockClassLoaderFactoryTest.java
Replacing .are(contains(foo)) with .isEqualsTo(foo) fixes these two issues.
However, they are not the only problems, and I've not been able to fix the
rest, and error messages for closures seem to be especially unhelpful in Java.
--
You are receiving this mail because:
You are on the CC list for the bug.