1 /** 2 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html 3 */ 4 package test.net.sourceforge.pmd.rules.typeresolution; 5 6 import org.junit.Before; 7 8 import test.net.sourceforge.pmd.testframework.SimpleAggregatorTst; 9 10 public class UnusedImportsTest extends SimpleAggregatorTst { 11 12 @Before 13 public void setUp() { 14 addRule("typeresolution", "UnusedImports"); 15 } 16 17 public static junit.framework.Test suite() { 18 return new junit.framework.JUnit4TestAdapter(UnusedImportsTest.class); 19 } 20 }