KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > wa59055 > Class1Test


1 package org.wa59055;
2
3 import junit.framework.*;
4
5 public class Class1Test extends TestCase {
6     
7     public Class1Test(String JavaDoc testName) {
8         super(testName);
9     }
10
11     /**
12      * Test of method1 method, of class org.wa59055.Class1.
13      */

14     public void testMethod1() {
15         System.out.println("method1");
16         
17         Class1 instance = new Class1();
18         
19         instance.method1();
20         
21         // TODO review the generated test code and remove the default call to fail.
22
fail("The test case is a prototype.");
23     }
24     
25 }
26
Popular Tags