KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > firstpartners > nounit > ui > command > test > TestCommandLineProcessor


1 package net.firstpartners.nounit.ui.command.test;
2
3 /**
4  * Title: NoUnit - Identify Classes that are not being unit Tested
5  *
6  * Copyright (C) 2001 Paul Browne , FirstPartners.net
7  *
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; either version 2
12  * of the License, or (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22  *
23  * @author Paul Browne
24  * @version 0.7
25  */

26
27 import junit.framework.*;
28
29 /**
30  * Test the Finder Class.<BR>
31  * As the main command line entry point to the system ,
32  * these tests should validate the entire system
33  */

34 public class TestCommandLineProcessor extends TestCase {
35
36   /**
37    * Constructor as required by Junit
38    * @param name to be displayed on testrunner
39    */

40     public TestCommandLineProcessor(String JavaDoc name) {
41     super(name);
42   }
43
44   /**
45    * Code run before each test
46    */

47   public void setUp(){
48
49   }
50
51   /**
52    * Code run after each test
53    */

54   protected void tearDown()
55   {
56
57   }
58
59   /**
60   * Enable Junit to run this Class individually
61   * @param args
62   */

63   public static void main(String JavaDoc[] args) {
64       junit.textui.TestRunner.run (suite());
65   }
66
67   /**
68    * Enable Junit to run this class as part of AllTests.java
69    * @return TestSuite
70    */

71   public static Test suite() {
72       return new TestSuite(TestCommandLineProcessor.class);
73   }
74
75   /**
76    * Test the Command line Functionality - main entry point into system
77    */

78   public void testCommandLine() throws Exception JavaDoc {
79
80   }
81
82 }
Popular Tags