Closed GoogleCodeExporter closed 9 years ago
This may be very difficult due to internal changes in Mockito. It seems like
they're
using reflection to read certain internal fields and thus our proxy doesn't
work anymore.
Original comment by johan.ha...@gmail.com
on 28 Jan 2009 at 9:03
Hi Johan,
Did you make any progress on this issue? Do you need some help from the Mockito
team?
Thanks.
Original comment by etorrebo...@gmail.com
on 23 Mar 2009 at 1:16
Hi,
I don't have this in perfect memory right now but my conclusion last time I
look at
it was that either we had to bytecode manipulate Mockito or persuade the Mockito
developers to help us out. But maybe I can find another solution if I look more
closely at it. If you're interested you're more than welcome to help us out
with the
Mockito extension since it needs more work.
I'm in Nepal now for a couple of weeks so I don't have time to look at this now
:(
Original comment by johan.ha...@gmail.com
on 23 Mar 2009 at 3:36
Thanks Johan for taking some time from Nepal to answer this :-).
I'm going to send an email to the Mockito guys to see how they can help you
(I'm
afraid I can't devote much time to other projects than mine at the moment :-( )
E.
Original comment by etorrebo...@gmail.com
on 25 Mar 2009 at 6:11
I've now managed to upgrade to Mockito 1.7 by bypassing the original Mockito
proxy
and calling the wrapped delegator directly using reflection (for more details
look at
the comments in the code). This should be available in the next release.
Original comment by johan.ha...@gmail.com
on 12 Apr 2009 at 10:50
Great! Thanks a lot.
Original comment by etorrebo...@gmail.com
on 12 Apr 2009 at 2:41
Johan,
Could you deploy a powermock 2.0-SNAPSHOT jar (if stable enough) to your
repository,
that I could use for my integration now this issue is solved?
Thanks.
Original comment by etorrebo...@gmail.com
on 2 May 2009 at 12:28
We'll release 1.2.5 very soon! We just have a minor issue to sort out.
Original comment by johan.ha...@gmail.com
on 4 May 2009 at 6:35
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 26 Jan 2009 at 7:13