1   package test.net.sourceforge.pmd.jsp.rules;
2   
3   import org.junit.Before;
4   
5   import test.net.sourceforge.pmd.testframework.SimpleAggregatorTst;
6   
7   /**
8    * Test the "NoJspForward" rule.
9    * 
10   * @author pieter_van_raemdonck - Application Engineers NV/SA - www.ae.be
11   */
12  public class NoJspForwardTest extends SimpleAggregatorTst {
13  
14      @Before
15      public void setUp() {
16          addRule("jsp", "NoJspForward");
17      }
18  
19      public static junit.framework.Test suite() {
20          return new junit.framework.JUnit4TestAdapter(NoJspForwardTest.class);
21      }
22  }