KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > junit > TestRunnerTest


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.junit;
21
22 import org.openide.TopManager;
23 import junit.framework.*;
24 import junit.runner.*;
25 import java.util.*;
26 import java.io.*;
27 import junit.framework.*;
28
29 public class TestRunnerTest extends TestCase {
30
31     public TestRunnerTest(java.lang.String JavaDoc testName) {
32         super(testName);
33     }
34
35     public static void main(java.lang.String JavaDoc[] args) {
36         junit.textui.TestRunner.run(suite());
37     }
38
39     public static Test suite() {
40         TestSuite suite = new TestSuite(TestRunnerTest.class);
41
42         return suite;
43     }
44     
45     /** Test of getLoader method, of class org.netbeans.modules.junit.TestRunner. */
46     public void testGetLoader() {
47         System.out.println("testGetLoader");
48         
49         // Add your test code below by replacing the default call to fail.
50
fail("The test case is empty.");
51     }
52     
53     /** Test of addError method, of class org.netbeans.modules.junit.TestRunner. */
54     public void testAddError() {
55         System.out.println("testAddError");
56         
57         // Add your test code below by replacing the default call to fail.
58
fail("The test case is empty.");
59     }
60     
61     /** Test of addFailure method, of class org.netbeans.modules.junit.TestRunner. */
62     public void testAddFailure() {
63         System.out.println("testAddFailure");
64         
65         // Add your test code below by replacing the default call to fail.
66
fail("The test case is empty.");
67     }
68     
69     /** Test of endTest method, of class org.netbeans.modules.junit.TestRunner. */
70     public void testEndTest() {
71         System.out.println("testEndTest");
72         
73         // Add your test code below by replacing the default call to fail.
74
fail("The test case is empty.");
75     }
76     
77     /** Test of startTest method, of class org.netbeans.modules.junit.TestRunner. */
78     public void testStartTest() {
79         System.out.println("testStartTest");
80         
81         // Add your test code below by replacing the default call to fail.
82
fail("The test case is empty.");
83     }
84     
85     /** Test of doRun method, of class org.netbeans.modules.junit.TestRunner. */
86     public void testDoRun() {
87         System.out.println("testDoRun");
88         
89         // Add your test code below by replacing the default call to fail.
90
fail("The test case is empty.");
91     }
92     
93     /** Test of runFailed method, of class org.netbeans.modules.junit.TestRunner. */
94     public void testRunFailed() {
95         System.out.println("testRunFailed");
96         
97         // Add your test code below by replacing the default call to fail.
98
fail("The test case is empty.");
99     }
100     
101     /** Test of start method, of class org.netbeans.modules.junit.TestRunner. */
102     public void testStart() {
103         System.out.println("testStart");
104         
105         // Add your test code below by replacing the default call to fail.
106
fail("The test case is empty.");
107     }
108     
109 }
110
Popular Tags