View Javadoc

    1   package net.sourceforge.pmd.lang.java.rule.typeresolution;
    2
    3   import net.sourceforge.pmd.testframework.SimpleAggregatorTst;
    4
    5   import org.junit.Before;
    6
    7
    8   public class SignatureDeclareThrowsExceptionTest extends SimpleAggregatorTst {
    9
    10      private static final String RULESET = "java-typeresolution";
    11
    12      @Before
    13      public void setUp() {
    14          addRule(RULESET, "SignatureDeclareThrowsException");
    15      }
    16
    17      public static junit.framework.Test suite() {
    18          return new junit.framework.JUnit4TestAdapter(SignatureDeclareThrowsExceptionTest.class);
    19      }
    20  }