Class ValidationReport


  • public class ValidationReport
    extends Object
    A report on validation of chemical semantics.
    Source code:
    main
    • Constructor Detail

      • ValidationReport

        public ValidationReport()
        Constructs a new empty ValidationReport.
    • Method Detail

      • addReport

        public void addReport​(ValidationReport report)
        Merges the tests with the tests in this ValidationReport.
      • addError

        public void addError​(ValidationTest test)
        Adds a validation test which gives serious errors.
      • addWarning

        public void addWarning​(ValidationTest test)
        Adds a validation test which indicate a possible problem.
      • addOK

        public void addOK​(ValidationTest test)
        Adds a validation test which did not find a problem.
      • addCDKError

        public void addCDKError​(ValidationTest test)
        Adds a CDK problem.
      • getErrorCount

        public int getErrorCount()
        Returns the number of failed tests.
      • getWarningCount

        public int getWarningCount()
        Returns the number of tests which gave warnings.
      • getOKCount

        public int getOKCount()
        Returns the number of tests without errors.
      • getCDKErrorCount

        public int getCDKErrorCount()
        Returns the number of CDK errors.
      • getCount

        public int getCount()
        Returns the number of CDK errors.
      • getErrors

        public List<ValidationTest> getErrors()
        Returns an array of ValidationTest errors.
      • getWarnings

        public List<ValidationTest> getWarnings()
        Returns an array of ValidationTest warnings.
      • getOKs

        public List<ValidationTest> getOKs()
        Returns an array of ValidationTest which did not find problems.
      • getCDKErrors

        public List<ValidationTest> getCDKErrors()
        Returns an array of ValidationTest indicating CDK problems.