Class TestReport

java.lang.Object
gov.niem.tools.api.validation.TestReport

public class TestReport extends Object
A test report that consists of a list of tests that may (or may not) have been run.
  • Field Details

  • Constructor Details

    • TestReport

      public TestReport()
  • Method Details

    • getTestResults

      public List<TestResult> getTestResults()
      Consolidates results from each test into a single test result list.
    • getErrors

      public long getErrors()
    • getWarnings

      public long getWarnings()
    • getInfo

      public long getInfo()
    • getPassed

      public long getPassed()
      Returns the number of tests with a passed result plus the number of tests that ran with zero results.
    • setDefaultComment

      public void setDefaultComment()