View Javadoc
1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd.lang.jsp.rule.basic;
5   
6   import net.sourceforge.pmd.testframework.SimpleAggregatorTst;
7   
8   public class BasicRulesTest extends SimpleAggregatorTst {
9   
10      private static final String RULESET = "jsp-basic";
11  
12      @Override
13      public void setUp() {
14          addRule(RULESET, "DuplicateJspImports");
15          addRule(RULESET, "IframeMissingSrcAttribute");
16          addRule(RULESET, "JspEncoding");
17          addRule(RULESET, "NoClassAttribute");
18          addRule(RULESET, "NoHtmlComments");
19          addRule(RULESET, "NoInlineScript");
20          addRule(RULESET, "NoInlineStyleInformation");
21          addRule(RULESET, "NoJspForward");
22          addRule(RULESET, "NoLongScripts");
23          addRule(RULESET, "NoScriptlets");
24          addRule(RULESET, "NoUnsanitizedJSPExpression");
25      }
26  }