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()
    • TestReport

      public TestReport(List<Test> tests, String comment)
  • 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()
    • setDefaultComment

      public void setDefaultComment()
    • builder

      public static TestReport.TestReportBuilder builder()
    • getTests

      public List<Test> getTests()
    • getComment

      public String getComment()
    • setTests

      public void setTests(List<Test> tests)
    • setComment

      public void setComment(String comment)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object