package Templates.Classes; import junit.extensions.*; import junit.framework.*; import junit.textui.*; /** * Test the {@link xxx} class. * @author __USER__ * @version 4.0.0 * @since 4.0.0 */ public class TestCase extends TestCase { //////////////////////////////////////////////////////////////////////////////// // Constants and variables. //////////////////////////////////////////////////////////////////////////////// // Constructors and factory methods. /** * Run this suite with text UI. * @param pArgList Command line arguments. Not used. * @throws Exception If an exception is thrown. */ public static void main(String[] pArgList) throws Exception { TestRunner.run(__NAME__.suite()); } /** * Create a test suite. * @return The suite. */ public static Test suite() { Test suite = new TestSuite(__NAME__.class); suite = new TestSetup(suite) { /** * Set up the whole suite. * @throws Exception If an exception is thrown. */ protected void setUp() throws Exception { } /** * Tear down the whole suite. * @throws Exception If an exception is thrown. */ protected void tearDown() throws Exception { } }; return suite; } /** * Construct a new test. * @param pName The name of the test. */ public TestCase(String pName) { super(pName); } /** * Set up a single test. * @throws Exception If an exception is thrown. */ protected void setUp() throws Exception { } /** * Tear down a single test. * @throws Exception If an exception is thrown. */ protected void tearDown() throws Exception { } //////////////////////////////////////////////////////////////////////////////// // Tests. /** * Test. * @throws Exception If an exception is thrown. */ public void test() throws Exception { } }