Package net.sourceforge.pmd.test.schema
Class TestSchemaParser
- java.lang.Object
-
- net.sourceforge.pmd.test.schema.TestSchemaParser
-
public class TestSchemaParser extends Object
Entry point to parse a test file.- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description TestSchemaParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleTestCollection
parse(net.sourceforge.pmd.lang.rule.Rule rule, InputSource inputSource)
Entry point to parse a test file.
-
-
-
Method Detail
-
parse
public RuleTestCollection parse(net.sourceforge.pmd.lang.rule.Rule rule, InputSource inputSource) throws IOException, com.github.oowekyala.ooxml.messages.XmlException
Entry point to parse a test file.- Parameters:
rule
- Rule which owns the testsinputSource
- Where to access the test file to parse- Returns:
- A test collection, possibly incomplete
- Throws:
IOException
- If parsing throws thiscom.github.oowekyala.ooxml.messages.XmlException
- If parsing throws this
-
-