01: package test.net.sourceforge.pmd.rules.javabeans;
02:
03: import org.junit.Before;
04:
05: import test.net.sourceforge.pmd.testframework.SimpleAggregatorTst;
06:
07: public class JavabeansRulesTest extends SimpleAggregatorTst {
08:
09: @Before
10: public void setUp() {
11: addRule("javabeans", "BeanMembersShouldSerialize");
12: addRule("javabeans", "MissingSerialVersionUID");
13: }
14:
15: public static junit.framework.Test suite() {
16: return new junit.framework.JUnit4TestAdapter(
17: JavabeansRulesTest.class);
18: }
19: }
|