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