PowerMock issues?

22 views
Skip to first unread message

Isaac Carter

unread,
Jun 14, 2013, 9:31:16 AM6/14/13
to catch-excep...@googlegroups.com

Is anyone having issues with trying to run catch-exception along with PowerMock in the same test class?   When I comment out the PowerMock code in my test class ( along with all PowerMock imports and annotations), the catch-exception test passes, but when I add back in the PowerMock code...the same test fails.


Isaac Carter

unread,
Jun 14, 2013, 9:38:43 AM6/14/13
to catch-excep...@googlegroups.com

I failed to mention that I am using PowerMock 1.5 and Mockito 1.9.5

Isaac Carter

unread,
Jun 14, 2013, 2:38:33 PM6/14/13
to catch-excep...@googlegroups.com
I fixed the issue.  Dealt with how the exception was being handled and not with PowerMock.  If anyone is wondering, catch-exception will work with PowerMock 1.5 and Mockito 1.9.5. 


On Friday, June 14, 2013 9:31:16 AM UTC-4, Isaac Carter wrote:

rw...@gmx.de

unread,
Jul 3, 2013, 7:43:49 AM7/3/13
to catch-excep...@googlegroups.com
Thanks, for testing, Isaac. I have just done some tests on myself and completed the list of compatible versions on the webpage.

Rod
Reply all
Reply to author
Forward
0 new messages