What steps will reproduce the problem?
1. look at the docs @
http://powermock.googlecode.com/svn/docs/powermock-1.4.12/apidocs/org/powermock/
core/classloader/annotations/PrepareForTest.html
2. try to write code using the information contained therein regarding
wildcarded package names:
You can also prepare whole packages for test by using wildcards:
@PrepareForTest("com.mypackage.*")
What is the expected output? What do you see instead?
This should be compilable. It is not. Error:
Type mismatch: cannot convert from String to Class<?>[]
What version of the product are you using? On what operating system?
1.4.12
Please provide any additional information below.
Perhaps correct usage?:
@PrepareForTest(fullyQualifiedNames={"com.mypackage.*"})
Original issue reported on code.google.com by brian.he...@gmail.com on 21 Nov 2012 at 9:22
Original issue reported on code.google.com by
brian.he...@gmail.com
on 21 Nov 2012 at 9:22