KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > firstpartners > nounit > utility > test > TestCollectionUtil


1 package net.firstpartners.nounit.utility.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.Test;
28 import junit.framework.TestCase;
29 import junit.framework.TestSuite;
30
31 /**
32  * Tests the functions in the Util Class
33  */

34 public class TestCollectionUtil extends TestCase{
35     
36     
37     
38     /**
39      * Constructor Required by Junit
40      * @param name
41      */

42     public TestCollectionUtil(String JavaDoc name) {
43         super(name);
44     }
45     
46     /**
47      * Method to setup logging test
48      */

49     public void setUp() {
50         
51     }
52     
53     /**
54      * Enable Junit to run this Class individually
55      * @param args
56      */

57     public static void main(String JavaDoc[] args) {
58         junit.textui.TestRunner.run(suite());
59     }
60     
61     /**
62      * Enable Junit to run this class
63      * @return TestDataCaptureDefaults.class
64      */

65     public static Test suite() {
66         return new TestSuite(TestCollectionUtil.class);
67     }
68     
69     /**
70      * Only here till more unit tests are put in...
71      */

72     public void testNothing(){
73         
74     }
75     
76     
77    
78     
79     
80 }
Popular Tags