1 package junit.tests;2 3 import junit.framework.*;4 5 /**6 * A helper test case for testing whether the testing method7 * is run.8 */9 class WasRun extends TestCase {10 boolean fWasRun= false;11 WasRun(String name) {12 super(name);13 }14 protected void runTest() {15 fWasRun= true;16 }17 }