Package net.sourceforge.pmd.test.schema
Class RuleTestCollection
- java.lang.Object
-
- net.sourceforge.pmd.test.schema.RuleTestCollection
-
public class RuleTestCollection extends Object
Collection of individual rule tests. Each test contains a copy of the rule.- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description RuleTestCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTest(RuleTestDescriptor descriptor)
String
getAbsoluteUriToTestXmlFile()
RuleTestDescriptor
getFocusedTestOrNull()
Returns the last test of the collection which is focused.List<RuleTestDescriptor>
getTests()
void
setAbsoluteUriToTestXmlFile(String absoluteUriToTestXmlFile)
-
-
-
Method Detail
-
addTest
public void addTest(RuleTestDescriptor descriptor)
-
getTests
public List<RuleTestDescriptor> getTests()
-
getFocusedTestOrNull
public RuleTestDescriptor getFocusedTestOrNull()
Returns the last test of the collection which is focused.
-
getAbsoluteUriToTestXmlFile
public String getAbsoluteUriToTestXmlFile()
-
setAbsoluteUriToTestXmlFile
public void setAbsoluteUriToTestXmlFile(String absoluteUriToTestXmlFile)
-
-