1   /*
2    *  TestTemplate.java
3    *
4    *  Copyright (c) 1998-2005, The University of Sheffield.
5    *
6    *  This file is part of GATE (see http://gate.ac.uk/), and is free
7    *  software, licenced under the GNU Library General Public License,
8    *  Version 2, June 1991 (in the distribution as file licence.html,
9    *  and also available at http://gate.ac.uk/gate/licence.html).
10   *
11   *  Hamish Cunningham, 16/Mar/00
12   *
13   *  $Id: TestTemplate.java,v 1.9 2005/01/11 13:51:37 ian Exp $
14   */
15  
16  package gate.util;
17  
18  import junit.framework.*;
19  
20  /** Template test class - to add a new part of the test suite:
21    * <UL>
22    * <LI>
23    * copy this class and change "Template" to the name of the new tests;
24    * <LI>
25    * add a line to TestGate.java in the suite method referencing your new
26    * class;
27    * <LI>
28    * add test methods to this class.
29    * </UL>
30    */
31  public class TestTemplate extends TestCase
32  {
33    /** Debug flag */
34    private static final boolean DEBUG = false;
35  
36    /** Construction */
37    public TestTemplate(String name) { super(name); }
38  
39    /** Fixture set up */
40    public void setUp() throws Exception {
41    } // setUp
42  
43    /** Put things back as they should be after running tests.
44      */
45    public void tearDown() throws Exception {
46    } // tearDown
47  
48    /** A test */
49    public void testSomething() throws Exception {
50      assertTrue(true);
51    } // testSomething()
52  
53    /** Test suite routine for the test runner */
54    public static Test suite() {
55      return new TestSuite(TestTemplate.class);
56    } // suite
57  
58  } // class TestTemplate
59