directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrique Rodriguez" <enriqu...@gmail.com>
Subject Method signatures in JUnit4 primer
Date Fri, 05 Oct 2007 19:27:49 GMT
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