KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > junit > tests > Failure


1 package junit.tests;
2
3 import java.util.Vector JavaDoc;
4 import junit.framework.*;
5
6 /**
7  * A test case testing the testing framework.
8  *
9  */

10 public class Failure extends TestCase {
11     
12     public Failure(String JavaDoc name) {
13         super(name);
14     }
15     public void test() {
16         fail();
17     }
18 }
Popular Tags