directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny" <elecha...@gmail.com>
Subject Re: Method signatures in JUnit4 primer
Date Fri, 05 Oct 2007 21:48:23 GMT
Sure, they have to be static. It's a slight mistake I've made, thanks
for pointing that out Enrique and to have conformed it Chris !


On 10/5/07, Chris Custine <ccustine@apache.org> wrote:
> Yes indeed, those methods should be static.
>
> Chris
>
>
> On 10/5/07, Enrique Rodriguez <enriquer9@gmail.com> wrote:
> > Hi, Directory developers,
> >
> > I tried out Emm's JUnit4 primer.  It looks like the per-class methods
> > need to be static.  If others verify this, I can update the primer.
> > Correct method signatures:
> >
> > @BeforeClass
> > public static void globalSetUp()
> >
> > @AfterClass
> > public static void globalTearDown()
> >
> > This is in the "giant leap for testers" section.
> >
> > Primer:
> >
> >
> http://cwiki.apache.org/confluence/display/DIRxDEV/JUnit4+primer
> >
> > Enrique
> >
>
>


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com

Mime
View raw message