Class TestSchemaParser


  • public class TestSchemaParser
    extends Object
    Entry point to parse a test file.
    Author:
    Clément Fournier
    • Constructor Detail

      • TestSchemaParser

        public TestSchemaParser()
    • 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 tests
        inputSource - Where to access the test file to parse
        Returns:
        A test collection, possibly incomplete
        Throws:
        IOException - If parsing throws this
        com.github.oowekyala.ooxml.messages.XmlException - If parsing throws this