01: package test.net.sourceforge.pmd.jsp.rules;
02:
03: import org.junit.Before;
04:
05: import test.net.sourceforge.pmd.testframework.SimpleAggregatorTst;
06:
07: /**
08: * Test the "DontNestJsfInJstlIteration" rule.
09: *
10: * @author pieter_van_raemdonck - Application Engineers NV/SA - www.ae.be
11: */
12: public class DontNestJsfInJstlIterationTest extends SimpleAggregatorTst {
13:
14: @Before
15: public void setUp() {
16: addRule("jsf", "DontNestJsfInJstlIteration");
17: }
18:
19: public static junit.framework.Test suite() {
20: return new junit.framework.JUnit4TestAdapter(
21: DontNestJsfInJstlIterationTest.class);
22: }
23: }
|