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 "NoScriptlets" rule. 9 * 10 * @author pieter_van_raemdonck - Application Engineers NV/SA - www.ae.be 11 */ 12 public class NoScriptletsTest extends SimpleAggregatorTst { 13 14 @Before 15 public void setUp() { 16 addRule("jsp", "NoScriptlets"); 17 } 18 19 public static junit.framework.Test suite() { 20 return new junit.framework.JUnit4TestAdapter(NoScriptletsTest.class); 21 } 22 }