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