I just found the answer to my own question: mark the class with @Ignore My apologies.
videophool wrote: > > In some junit code, I have a nested class that is private and static. > This class implements an interface that is used by the code under test. > The junit tests work fine in Eclipse, but fail under ant. The failures > are: > > MyTestClass$NestedClass "Caused an ERROR Test class should have public > zero-argument constructors. > MyTestClass$NestedClass "Caused an ERROR No runnable methods. > > I need this class to provide psuedo data throug an interface that the code > under test requires. Is there someway to mark the nested class so that > junit-ant does not assume that it is used for nested tests? > -- View this message in context: http://old.nabble.com/nested-static-class-causing-junit-failure-tp28831749p28831819.html Sent from the Ant - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org