[prev in list] [next in list] [prev in thread] [next in thread]
List: avalon-dev
Subject: RE: scratchpad tests
From: "Neeme Praks" <neeme.praks () one ! ee>
Date: 2001-10-31 16:06:43
[Download RAW message or body]
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>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic