Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

it looks that Infinitest JUnit runner ingore suite method

#61

I have a pair of JUnit3 tests using PowerMock custom suite to mock static methods on final class according to this blog post:

http://kirkgsworld.blogspot.com/2010/04/powermock-mocking-statics-s...

When I run the tests using build in Eclipse JUnit runner, everything works fine.
But Infinitest shows an error on the line which mocks the static class:

  • IllegalArgumentException (Cannot subclass final class class XYZ)

which can only be happen when the PowerMock wasn't able to instrument the classes properly.

Reported by VladimĂ­r OranĂ˝ · October 10th, 2010 @ 10:19 AM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.