You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Donszelmann, Mark" <du...@slac.stanford.edu> on 2006/01/23 16:26:25 UTC

[m2] Surefire plugin: Should anonymous inner classes be auto-excluded from testing

Hi

should Anonymous Inner Classes (such as Listeners) not automatically
be excluded from the list of tested classes. 

Otherwise one runs into test-time errors such as:

NoSuchMethodException: YourClass$1.<init>()

Regards
Mark Donszelmann

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [m2] Surefire plugin: Should anonymous inner classes be auto-excluded from testing

Posted by Brett Porter <br...@apache.org>.
Wasn't this changed in the more recent releases?

Donszelmann, Mark wrote:
> Hi
> 
> should Anonymous Inner Classes (such as Listeners) not automatically
> be excluded from the list of tested classes. 
> 
> Otherwise one runs into test-time errors such as:
> 
> NoSuchMethodException: YourClass$1.<init>()
> 
> Regards
> Mark Donszelmann
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org