Thoppan / powermock

Automatically exported from code.google.com/p/powermock
Apache License 2.0
0 stars 0 forks source link

Add org.pitest.* to packagesToBeDeferred in MockClassLoader #337

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PIT (http://pitest.org) will include some hackery in release 0.21 to add 
support for powermock. 

Users will however need to add @PowerMockIgnore("org.pitest.*") to each of 
their tests in order for it to work.

Can org.pitest.* please be added to the hard coded list of automatically 
deferred packages in MockClassLoader.

Thanks

Henry

Original issue reported on code.google.com by henry.co...@googlemail.com on 27 Jul 2011 at 11:04

GoogleCodeExporter commented 9 years ago
Sure! I'll add it when I come back from my vacation. 

Original comment by johan.ha...@gmail.com on 28 Jul 2011 at 7:23

GoogleCodeExporter commented 9 years ago
I've added it to trunk. Please help me verify whether it works or not.

Original comment by johan.ha...@gmail.com on 21 Aug 2011 at 9:26

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 21 Aug 2011 at 9:26

GoogleCodeExporter commented 9 years ago
Thanks Johan, I've just built from head and I can confirm that it works nicely 
with PIT with no need to annotate the tests.

Original comment by henry.co...@googlemail.com on 23 Aug 2011 at 8:06

GoogleCodeExporter commented 9 years ago
That's very good, especially since the fix was included in the latest release 
(1.4.10) :)

Original comment by johan.ha...@gmail.com on 24 Aug 2011 at 8:25