Originally Posted by
javapenguin
I think it means you have to have a default constructor for TestCase and you don't.
No, it does not. And once again, if you have to preface a post with "I think", I suggest you be sure before posting...would have taken 30seconds to write something to test if you receive a compile time error....no-arg constructors are called implicitly.
goldest is along the right lines....but I'm a bit confused because the API for JUnit states the no-arg constructor for TestCase is public...and I receive no error when I try and reproduce a TestCase with no constructor. That being said the no-arg constructor in the API states
This method is not intended to be used by mere mortals without calling setName().
I suggest you create a no-arg constructor and call the parent constructor that sets the name and see what that does.