Package gov.niem.tools.api.validation
Class TestReport
java.lang.Object
gov.niem.tools.api.validation.TestReport
A test report that consists of a list of tests that may (or may not) have been run.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSupported formats for the validation results file (e.g., json, csv) -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglonggetInfo()longReturns the number of tests with a passed result plus the number of tests that ran with zero results.Consolidates results from each test into a single test result list.longvoid
-
Field Details
-
tests
-
comment
-
-
Constructor Details
-
TestReport
public TestReport()
-
-
Method Details
-
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()
-