KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > junit > tests > WasRun


1 package junit.tests;
2
3 import junit.framework.*;
4
5 /**
6  * A helper test case for testing whether the testing method
7  * is run.
8  */

9 class WasRun extends TestCase {
10     boolean fWasRun= false;
11         WasRun(String JavaDoc name) {
12             super(name);
13         }
14         protected void runTest() {
15             fWasRun= true;
16         }
17 }
Popular Tags