Bug 1074674

Summary: enable easymock module
Product: [Fedora] Fedora Reporter: Pete MacKinnon <pmackinn>
Component: powermockAssignee: Michael Simacek <msimacek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: ctubbsii, java-sig-commits, jerboaa, msimacek, neugens, rkennke
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: powermock-1.4.12-10.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-09 13:15:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pete MacKinnon 2014-03-10 19:47:36 UTC
$ rpm -q easymock
easymock-3.2-2.fc21.noarch

The latest version of powermock in rawhide appears to build with the latest version of easymock.

Without the api/pom.xml patch:

[INFO] powermock ......................................... SUCCESS [13.682s]
[INFO] powermock-reflect ................................. SUCCESS [8.658s]
[INFO] powermock-core .................................... SUCCESS [7.167s]
[INFO] powermock-api ..................................... SUCCESS [0.031s]
[INFO] powermock-api-support ............................. SUCCESS [3.025s]
[INFO] powermock-api-easymock ............................ SUCCESS [4.883s]
[INFO] powermock-api-mockito ............................. SUCCESS [4.806s]
[INFO] powermock-modules ................................. SUCCESS [0.013s]

<snip>

./api/easymock/target/powermock-api-easymock-1.4.12.jar
./api/easymock/target/powermock-api-easymock-1.4.12-javadoc.jar
./api/easymock/target/powermock-api-easymock-1.4.12-sources.jar

Please consider enabling this module and providing a sub-package for same.

Comment 1 Fedora Update System 2014-03-28 09:37:55 UTC
powermock-1.4.12-10.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/powermock-1.4.12-10.fc20

Comment 2 Fedora Update System 2014-03-30 06:07:01 UTC
Package powermock-1.4.12-10.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing powermock-1.4.12-10.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4488/powermock-1.4.12-10.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-04-09 13:15:51 UTC
powermock-1.4.12-10.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Christopher Tubbs 2014-05-12 22:03:22 UTC
The 1.4 version, and some of the 1.5 versions of powermock (using PowerMockRunner and expectNew) don't work with EasyMock 3.2, (http://code.google.com/p/powermock/issues/detail?id=454)

This issue appears fixed by PowerMock 1.5.4. Do I need to create a separate issue?

Comment 5 Christopher Tubbs 2014-05-12 22:17:18 UTC
Filed bz#1096992