Clover coverage report - JFCUnit Test Coverage
Coverage timestamp: Mon Dec 20 2004 23:38:10 MST
file stats: LOC: 98   Methods: 7
NCLOC: 38   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
TestHelperClass.java - 14.3% 14.3% 14.3%
coverage coverage
 1   
 package junit.extensions.jfcunit;
 2   
 
 3   
 import junit.extensions.jfcunit.keyboard.JFCKeyStroke;
 4   
 import java.awt.Component;
 5   
 
 6   
 /**
 7   
  * Dummy adapter class for TestHelper.
 8   
  *
 9   
  * @author Kevin Wilson
 10   
  */
 11   
 class TestHelperClass extends TestHelper {
 12   
     /**
 13   
      * Constructor.
 14   
      */
 15  20
     public TestHelperClass() {
 16  20
         super();
 17   
     }
 18   
 
 19   
     /**
 20   
      * Simulate pressing a key.
 21   
      *
 22   
      * @param ultimate Component.
 23   
      * @param stroke Keystroke.
 24   
      */
 25  0
     protected void keyPressed(final Component ultimate,
 26   
                               final JFCKeyStroke stroke) {
 27  0
         throw new RuntimeException("Method is not supported by abstract class: keyPress");
 28   
     }
 29   
 
 30   
     /**
 31   
      * Simluate releasing a key.
 32   
      *
 33   
      * @param ultimate Component.
 34   
      * @param stroke Keystroke.
 35   
      */
 36  0
     protected void keyReleased(final Component ultimate,
 37   
                                final JFCKeyStroke stroke) {
 38  0
         throw new RuntimeException("Method is not supported by abstract class: keyRelease");
 39   
     }
 40   
 
 41   
     /**
 42   
      * Simulate moving the mouse.
 43   
      *
 44   
      * @param ultimate Component.
 45   
      * @param x        int.
 46   
      * @param y        int.
 47   
      */
 48  0
     protected void mouseMoved(final Component ultimate,
 49   
                               final int x,
 50   
                               final int y) {
 51  0
         throw new RuntimeException("Method is not supported by abstract class: mouseMoved");
 52   
     }
 53   
 
 54   
     /**
 55   
      * Simulate pressing the mouse.
 56   
      *
 57   
      * @param ultimate     Component.
 58   
      * @param modifiers    int.
 59   
      * @param click        int
 60   
      * @param isPopupTrigger    boolean.
 61   
      */
 62  0
     protected void mousePressed(final Component ultimate,
 63   
                                 final int modifiers,
 64   
                                 final int click,
 65   
                                 final boolean isPopupTrigger) {
 66  0
         throw new RuntimeException("Method is not supported by abstract class: mousePressed");
 67   
     }
 68   
 
 69   
     /**
 70   
      * Simulate releasing the mouse.
 71   
      *
 72   
      * @param ultimate     Component.
 73   
      * @param modifiers    int.
 74   
      * @param click        int.
 75   
      * @param isPopupTrigger    boolean.
 76   
      */
 77  0
     protected void mouseReleased(final Component ultimate,
 78   
                                  final int modifiers,
 79   
                                  final int click,
 80   
                                  final boolean isPopupTrigger) {
 81  0
         throw new RuntimeException("Method is not supported by abstract class: mouseReleased");
 82   
     }
 83   
 
 84   
     /**
 85   
      * Simulate rotating the mouseWheel.
 86   
      *
 87   
      * @param ultimate Component to fire the events on.
 88   
      * @param amount scroll amount for each click of the wheel.
 89   
      * @param wheelRotation amount to rotate the wheel. positive for
 90   
      * rotation towards the user. Negative for rotation away from the user.
 91   
      */
 92  0
     protected void mouseWheel(final Component ultimate,
 93   
                               final int amount,
 94   
                               final int wheelRotation) {
 95  0
         throw new RuntimeException("Method is not supported by abstract class: mouseWheel");
 96   
     }
 97   
 }
 98