View Javadoc

    1   /**
    2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
    3    */
    4   package net.sourceforge.pmd.lang.java.rule.design;
    5
    6   import net.sourceforge.pmd.testframework.SimpleAggregatorTst;
    7
    8   import org.junit.Before;
    9
    10
    11  public class ConstructorCallsOverridableMethodTest extends SimpleAggregatorTst {
    12
    13      private static final String RULESET = "java-design";
    14
    15      @Before
    16      public void setUp() {
    17          addRule(RULESET, "ConstructorCallsOverridableMethod");
    18      }
    19
    20      public static junit.framework.Test suite() {
    21          return new junit.framework.JUnit4TestAdapter(
    22                  ConstructorCallsOverridableMethodTest.class);
    23      }
    24  }