avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neeme Praks" <neeme.pr...@one.ee>
Subject RE: scratchpad tests
Date Thu, 01 Nov 2001 02:05:16 GMT

well, my test is a _non-abstract_ class, but it is testing the _abstract_
class (it has inner class that implements the abstract methods).
Probably I can work around it by renaming something...

> -----Original Message-----
> From: Berin Loritsch [mailto:bloritsch@apache.org]
> Sent: Wednesday, October 31, 2001 6:42 AM
> To: Avalon Developers List
> Subject: Re: scratchpad tests
>
>
> Neeme Praks wrote:
> >
> > Why do we have the following exclusion in our JUnit Ant task
> when testing
> > scratchpad?:
> >         <exclude name="**/test/Abstract*TestCase.class"/>
> >
> > I have
> org.apache.avalon.excalibur.i18n.test.AbstractBundleTestCase and I
> > would like to run this one as well...
>
> Because _Abstract_ classes cannot be instantiated.  If your
> AbstractBundleTestCase
> is indeed a concrete class, then I would rename it to something
> that reflects that,
> like BaseBundleTestCase.  That implies it is meant to be
> extended, and it does not
> imply that the class is declared abstract.
>
>
> --
>
> "Those who would trade liberty for
>  temporary security deserve neither"
>                 - Benjamin Franklin
>
> --
> To unsubscribe, e-mail:
> <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:avalon-dev-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message