1   /***
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package test.net.sourceforge.pmd.testframework;
5   
6   import net.sourceforge.pmd.Rule;
7   
8   public class TestDescriptor {
9   
10      public String code;
11      public String description;
12      public int numberOfProblemsExpected;
13      public Rule rule;
14  
15      public TestDescriptor(String code, String description, int numberOfProblemsExpected, Rule rule) {
16          this.rule = rule;
17          this.code = code;
18          this.description = description;
19          this.numberOfProblemsExpected = numberOfProblemsExpected;
20      }
21  }