Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
47 0 0 4 91.5% 89.12 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
gov.nist.secauto.oscal.java 12 0 0 2 83.3% 56.21 s
gov.nist.secauto.oscal.lib.profile.resolver.selection 7 0 0 0 100% 2.415 s
gov.nist.secauto.oscal.lib.profile.resolver 22 0 0 1 95.5% 17.02 s
gov.nist.secauto.oscal.lib.validation 2 0 0 0 100% 8.782 s
gov.nist.secauto.oscal.lib.model.util 3 0 0 1 66.7% 4.554 s
gov.nist.secauto.oscal.lib.profile.resolver.policy 1 0 0 0 100% 0.130 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

gov.nist.secauto.oscal.java

- Class Tests Errors Failures Skipped Success Rate Time
OscalBindingContextTest 3 0 0 0 100% 0.089 s
MetaschemaVisitorTest 1 0 0 1 0% 0.002 s
ExamplesTest 1 0 0 1 0% 0 s
ReadWriteTest 1 0 0 0 100% 35.29 s
OscalBindingContextTest 5 0 0 0 100% 19.55 s
ExamplesTest 1 0 0 0 100% 1.285 s

gov.nist.secauto.oscal.lib.profile.resolver.selection

- Class Tests Errors Failures Skipped Success Rate Time
FilterNonSelectedVisitorTest 1 0 0 0 100% 0.133 s
ControlSelectionVisitorTest 1 0 0 0 100% 0.624 s
DefaultControlSelectionFilterTest 4 0 0 0 100% 0.501 s
ImportTest 1 0 0 0 100% 1.157 s

gov.nist.secauto.oscal.lib.profile.resolver

- Class Tests Errors Failures Skipped Success Rate Time
ModifyPhaseUtilsTest 0 0 0 0 0% 0.059 s
ProfileResolutionTests 3 0 0 0 100% 14.08 s
ModifyPhaseUtilsTest 1 0 0 0 100% 0.035 s
ProfileResolutionTests 9 0 0 0 100% 1.272 s
ProfileResolutionTests 9 0 0 1 88.9% 1.575 s

gov.nist.secauto.oscal.lib.validation

- Class Tests Errors Failures Skipped Success Rate Time
OscalValidationTest 1 0 0 0 100% 7.557 s
OscalValidationTest 1 0 0 0 100% 1.225 s

gov.nist.secauto.oscal.lib.model.util

- Class Tests Errors Failures Skipped Success Rate Time
AbstractNodeItemVisitorTest 1 0 0 1 0% 0.041 s
AllowedValueCollectingNodeItemVisitorTest 2 0 0 0 100% 4.513 s

gov.nist.secauto.oscal.lib.profile.resolver.policy

- Class Tests Errors Failures Skipped Success Rate Time
ReferenceCountingVisitorTest 1 0 0 0 100% 0.130 s

Test Cases

[Summary] [Package List] [Test Cases]

ProfileResolutionTests

testImportResourceRelativeLink 0.022 s
testArsModerateProfile 6.093 s
testMultipleImports 9.631 s

OscalBindingContextTest

testLoadProfileJson(Path) 0.061 s
testCatalogXmlListItems 0.018 s
testLoadCatalogTightLists 0.010 s

MetaschemaVisitorTest

test 0 s
- void gov.nist.secauto.oscal.java.MetaschemaVisitorTest.test() throws java.io.FileNotFoundException,java.io.IOException,java.net.URISyntaxException,gov.nist.secauto.metaschema.core.model.constraint.ConstraintValidationException is @Disabled -

FilterNonSelectedVisitorTest

test 0.133 s

AbstractNodeItemVisitorTest

testAllowedValues 0 s
- void gov.nist.secauto.oscal.lib.model.util.AbstractNodeItemVisitorTest.testAllowedValues() throws gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled -

ExamplesTest

testConstraintValidation 0 s
- void gov.nist.secauto.oscal.java.ExamplesTest.testConstraintValidation() throws java.net.MalformedURLException,java.io.IOException,java.net.URISyntaxException,gov.nist.secauto.oscal.lib.profile.resolver.ProfileResolutionException,gov.nist.secauto.metaschema.core.model.constraint.ConstraintValidationException is @Disabled -

ModifyPhaseUtilsTest

testMergeOrdering 0.035 s

ReferenceCountingVisitorTest

test 0.128 s

ReadWriteTest

testOscalCatalogMetrics(Path) 35.28 s

OscalBindingContextTest

testLoadCatalogXml(Path) 14.75 s
testSerializeSspToOutputStream 0.002 s
testLoadCatalogIssue5(Path) 0.013 s
testLoadCatalogJson(Path) 7.002 s
testLoadCatalogYaml(Path) 8.629 s

ExamplesTest

simpleLoadAndSave 1.250 s

ControlSelectionVisitorTest

test 0.622 s

DefaultControlSelectionFilterTest

testMultipleSelectionFilter 0.470 s
testEmpty 0.003 s
testSingleSelectionWithIdsFilter 0.002 s
testSingleSelectionWithIdsWithChildFilter 0.003 s

OscalValidationTest

testValidateOscalProfileXml 6.326 s

ProfileResolutionTests

test(String)[6] 0.241 s
test(String)[7] 0.169 s
test(String)[8] 0.141 s
test(String)[9] 0.142 s
test(String)[10] 0.148 s
test(String)[11] 0.145 s
test(String)[12] 0.167 s
test(String)[13] 0.097 s
testCircularLink 0.022 s

ImportTest

test 1.156 s

AllowedValueCollectingNodeItemVisitorTest

testAllowedValuesMissingVariableBindings 3.657 s
testAllowedValuesMissingVariableBindings2 0.834 s

OscalValidationTest

testValidateProfileWithMissingControls 1.225 s

ProfileResolutionTests

testOscalVersion 0.106 s
testSingle 0.553 s
testRemove 0 s
- void gov.nist.secauto.oscal.lib.profile.resolver.ProfileResolutionTests.testRemove() throws java.io.IOException,gov.nist.secauto.oscal.lib.profile.resolver.ProfileResolutionException,java.net.URISyntaxException is @Disabled -
testBrokenLink 0.010 s
test(String)[1] 0.183 s
test(String)[2] 0.178 s
test(String)[3] 0.215 s
test(String)[4] 0.149 s
test(String)[5] 0.181 s

Failure Details

[Summary] [Package List] [Test Cases]


test
- skipped: void gov.nist.secauto.oscal.java.MetaschemaVisitorTest.test() throws java.io.FileNotFoundException,java.io.IOException,java.net.URISyntaxException,gov.nist.secauto.metaschema.core.model.constraint.ConstraintValidationException is @Disabled
testAllowedValues
- skipped: void gov.nist.secauto.oscal.lib.model.util.AbstractNodeItemVisitorTest.testAllowedValues() throws gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled
testConstraintValidation
- skipped: void gov.nist.secauto.oscal.java.ExamplesTest.testConstraintValidation() throws java.net.MalformedURLException,java.io.IOException,java.net.URISyntaxException,gov.nist.secauto.oscal.lib.profile.resolver.ProfileResolutionException,gov.nist.secauto.metaschema.core.model.constraint.ConstraintValidationException is @Disabled
testRemove
- skipped: void gov.nist.secauto.oscal.lib.profile.resolver.ProfileResolutionTests.testRemove() throws java.io.IOException,gov.nist.secauto.oscal.lib.profile.resolver.ProfileResolutionException,java.net.URISyntaxException is @Disabled