01: /**
02: * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
03: */package test.net.sourceforge.pmd.rules.design;
04:
05: import org.junit.Before;
06:
07: import test.net.sourceforge.pmd.testframework.SimpleAggregatorTst;
08:
09: public class ConstructorCallsOverridableMethodTest extends
10: SimpleAggregatorTst {
11:
12: @Before
13: public void setUp() {
14: addRule("design", "ConstructorCallsOverridableMethod");
15: }
16:
17: public static junit.framework.Test suite() {
18: return new junit.framework.JUnit4TestAdapter(
19: ConstructorCallsOverridableMethodTest.class);
20: }
21: }
|