KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > wa59055 > extra > Class2Test


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

14     public void testMethod1() {
15         System.out.println("method1");
16         
17         Class2 instance = new Class2();
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