Package gov.niem.tools.api.validation
Class Test
java.lang.Object
gov.niem.tools.api.validation.Test
Information about a validation test.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumKinds of test severity (error, warning, info). -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanfloatTest runtime in seconds. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglongvoidendTest()Marks the test as ran and calculates the runtime.voidStarts the test and stores the current time for the test runtime calculation.voidstartTest(Test.Severity severity) Starts the test and stores the current time for the test runtime calculation.
-
Field Details
-
status
-
id
-
description
-
severity
-
category
-
component
-
field
-
comments
-
scope
-
source
-
specId
-
specUrl
-
ruleNumber
-
ruleUrl
-
exampleValid
-
exampleInvalid
-
exceptions
-
exceptionLabels
-
notes
-
ran
public boolean ran -
runtime
public float runtimeTest runtime in seconds. -
results
-
-
Constructor Details
-
Test
-
Test
-
-
Method Details
-
startTest
public void startTest()Starts the test and stores the current time for the test runtime calculation. -
startTest
Starts the test and stores the current time for the test runtime calculation. -
endTest
public void endTest()Marks the test as ran and calculates the runtime. -
countWarnings
public long countWarnings() -
countErrors
public long countErrors() -
countInfo
public long countInfo() -
countPassed
public long countPassed()
-