What steps will reproduce the problem?
1. run "ant test"
What is the expected output? What do you see instead?
TestForeach$1 fails with:
Test class should have exactly one public constructor
java.lang.Exception: Test class should have exactly one public constructor
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
No runnable methods
java.lang.Exception: No runnable methods
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
Please use labels and text to provide additional information.
TestForeach$1 is an inner class that should not be treated as a test class.
The attached patch simply tells JUnit to not treat inner classes as test classes.
-peter
Original issue reported on code.google.com by petenewc...@gmail.com on 26 Aug 2011 at 12:04
Original issue reported on code.google.com by
petenewc...@gmail.com
on 26 Aug 2011 at 12:04Attachments: