Interface TestAssertion


public interface TestAssertion
A TestAssertion records the result of performing a validation test on a particular document property, or set of properties.
Author:
Carl Wilson
  • Method Details

    • getOrdinal

      int getOrdinal()
      Returns:
      the ordinal for the instance
    • getRuleId

      RuleId getRuleId()
      Returns:
      the String id for the org.verapdf.validation.profiles.Rule that this assertion refers to
    • getStatus

      Returns:
      the TestAssertion.Status that indicates the result of this test assertion
    • getMessage

      String getMessage()
      Returns:
      any message that accompanies this assertion.
    • getLocationContext

      String getLocationContext()
      Returns:
      location context.
    • getErrorMessage

      String getErrorMessage()
      Returns:
      error message.
    • getLocation

      Location getLocation()
      Returns:
      the Location within the PDF document where this test was asserted.
    • getErrorArguments

      List<ErrorArgument> getErrorArguments()
      Returns:
      the list of error arguments