https://bugzilla.redhat.com/show_bug.cgi?id=1096992
Bug ID: 1096992
Summary: PowerMock 1.4.x incompatible with EasyMock 3.1
Product: Fedora
Version: 20
Component: powermock
Severity: high
Assignee: rkennke(a)redhat.com
Reporter: ctubbsii(a)apache.org
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
jerboaa(a)gmail.com, msimacek(a)redhat.com,
neugens(a)redhat.com, rkennke(a)redhat.com
Description of problem:
PowerMockRunner 1.4.12 and some versions of 1.5.x are incompatible with
EasyMock 3.2 available in Fedora. PowerMock needs to be updated to version
1.5.4 (preferred) or EasyMock 3.1 needs to be available.
Version-Release number of selected component (if applicable):
1.4.12
How reproducible:
100%
Steps to Reproduce:
1. Run a basic JUnit test with PowerMockRunner, using expectNew
Actual results:
Test fails with the following exception:
org.powermock.reflect.exceptions.FieldNotFoundException: No instance field of
type "org.easymock.internal.MocksControl$MockType" could be found in the class
hierarchy of org.easymock.internal.MocksControl.
Expected results:
Test succeeds
Additional info:
http://stackoverflow.com/questions/17788926/org-powermock-reflect-excepti...
http://code.google.com/p/powermock/issues/detail?id=454
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=KbKMgPfDGG&a=cc_unsubscribe