directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Custine" <ccust...@apache.org>
Subject Re: Method signatures in JUnit4 primer
Date Fri, 05 Oct 2007 20:56:31 GMT
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
>

Mime
View raw message