1
2 package test/net/sourceforge/pmd/rules/package-summary.html">> test.net.sourceforge.pmd.rules;
3
4 import net.sourceforge.pmd.Rule;
5 import test.net.sourceforge.pmd.testframework.SimpleAggregatorTst;
6
7 public class UnusedNullCheckInEqualsTest extends SimpleAggregatorTst {
8 private Rule rule;
9
10 public void setUp() {
11 rule = findRule("basic", "UnusedNullCheckInEquals");
12 }
13
14 public void testAll() {
15 runTests(rule);
16 //FIXME: new TestDescriptor(TESTN, "shouldn't this fail?", 1, rule),
17 }
18
19 /*private static final String TESTN =
20 "public class Foo {" + PMD.EOL +
21 " public void bar() {" + PMD.EOL +
22 " if (x != null && y.equals(x)) {} " + PMD.EOL +
23 " }" + PMD.EOL +
24 "}";
25 */
26
27 }