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 org.junit.Before;
    7   import org.junit.Test;
    8
    9   import net.sourceforge.pmd.Rule;
    10  import net.sourceforge.pmd.testframework.SimpleAggregatorTst;
    11  import net.sourceforge.pmd.testframework.TestDescriptor;
    12
    13  /**
    14   *
    15   *
    16   * @author Romain PELISSE, belaran@gmail.com
    17   *
    18   */
    19  public class TooManyHttpFilterTest extends SimpleAggregatorTst {
    20
    21       private Rule rule;
    22       private TestDescriptor[] tests;
    23
    24       @Before
    25       public void setUp() {
    26  //         rule = findRule("design", "TooManyHttpFilter");
    27  //         tests = extractTestsFromXml(rule);
    28       }
    29
    30       @Test
    31       public void testDefault() {
    32   //        runTests(tests);
    33       }
    34       public static junit.framework.Test suite() {
    35           return new junit.framework.JUnit4TestAdapter(TooManyHttpFilterTest.class);
    36       }
    37   }