| TestTemplate |

    1   /*
    2    *  TestTemplate.java
    3    *
    4    *  Copyright (c) 1998-2001, 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.6 2001/10/30 12:45:41 valyt Exp $
    14   */
    15
    16  package gate.util;
    17
    18  import java.util.*;
    19  import java.io.*;
    20  import junit.framework.*;
    21
    22  /** Template test class - to add a new part of the test suite:
    23    * <UL>
    24    * <LI>
    25    * copy this class and change "Template" to the name of the new tests;
    26    * <LI>
    27    * add a line to TestGate.java in the suite method referencing your new
    28    * class;
    29    * <LI>
    30    * add test methods to this class.
    31    * </UL>
    32    */
    33  public class TestTemplate extends TestCase
    34  {
    35    /** Debug flag */
    36    private static final boolean DEBUG = false;
    37
    38    /** Construction */
    39    public TestTemplate(String name) { super(name); }
    40
    41    /** Fixture set up */
    42    public void setUp() throws Exception {
    43    } // setUp
    44
    45    /** Put things back as they should be after running tests.
    46      */
    47    public void tearDown() throws Exception {
    48    } // tearDown
    49
    50    /** A test */
    51    public void testSomething() throws Exception {
    52      assertTrue(true);
    53    } // testSomething()
    54
    55    /** Test suite routine for the test runner */
    56    public static Test suite() {
    57      return new TestSuite(TestTemplate.class);
    58    } // suite
    59
    60  } // class TestTemplate
    61

| TestTemplate |