The following skeleton will be used in this document for all examples:
import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import junit.extensions.repo.*; public class MyTestCase extends TestCase { private Repo repo; public MyTestCase(String name) { super(name); } public static Test suite() { return new TestSuite(MyTestCase.class); } protected void setUp() { // ... } // ... }