Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
43 0 0 4 90.7% 39.09 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% 31.19 s
gov.nist.secauto.oscal.lib.profile.resolver.selection 7 0 0 0 100% 0.353 s
gov.nist.secauto.oscal.lib.profile.resolver 21 0 0 1 95.2% 3.391 s
gov.nist.secauto.oscal.lib.validation 1 0 0 0 100% 4.129 s
gov.nist.secauto.oscal.lib.model.util 1 0 0 1 0% 0.001 s
gov.nist.secauto.oscal.lib.profile.resolver.policy 1 0 0 0 100% 0.022 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
MetaschemaVisitorTest 1 0 0 1 0% 0.001 s
ExamplesTest 2 0 0 1 50.0% 0.973 s
OscalBindingContextTest 8 0 0 0 100% 13.58 s
ReadWriteTest 1 0 0 0 100% 16.64 s

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

- Class Tests Errors Failures Skipped Success Rate Time
DefaultControlSelectionFilterTest 4 0 0 0 100% 0.324 s
ControlSelectionVisitorTest 1 0 0 0 100% 0.018 s
ImportTest 1 0 0 0 100% 0.003 s
FilterNonSelectedVisitorTest 1 0 0 0 100% 0.008 s

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

- Class Tests Errors Failures Skipped Success Rate Time
ProfileResolutionTests 20 0 0 1 95.0% 3.381 s
ModifyPhaseUtilsTest 1 0 0 0 100% 0.010 s

gov.nist.secauto.oscal.lib.validation

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

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

- Class Tests Errors Failures Skipped Success Rate Time
AbstractNodeItemVisitorTest 1 0 0 1 0% 0.001 s

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

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

Test Cases

[Summary] [Package List] [Test Cases]

MetaschemaVisitorTest

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

AbstractNodeItemVisitorTest

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

ProfileResolutionTests

testImportResourceRelativeLink 0.060 s
testArsModerateProfile 2.352 s
testCircularLink 0.022 s
test(String)[1] 0.195 s
test(String)[2] 0.039 s
test(String)[3] 0.038 s
test(String)[4] 0.053 s
test(String)[5] 0.034 s
test(String)[6] 0.068 s
test(String)[7] 0.040 s
test(String)[8] 0.045 s
test(String)[9] 0.031 s
test(String)[10] 0.018 s
test(String)[11] 0.028 s
test(String)[12] 0.034 s
test(String)[13] 0.030 s
testBrokenLink 0.003 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 -
testSingle 0.017 s
testOscalVersion 0.009 s

ReferenceCountingVisitorTest

test 0.020 s

ExamplesTest

simpleLoadAndSave 0.951 s
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 is @Disabled -

DefaultControlSelectionFilterTest

testSingleSelectionWithIdsWithChildFilter 0.308 s
testSingleSelectionWithIdsFilter 0.001 s
testEmpty 0.001 s
testMultipleSelectionFilter 0.002 s

OscalBindingContextTest

testLoadProfileJson(Path) 0.101 s
testCatalogXmlListItems 0.050 s
testLoadCatalogTightLists 0.012 s
testLoadCatalogJson(Path) 4.106 s
testLoadCatalogYaml(Path) 4.254 s
testLoadCatalogIssue5(Path) 0.018 s
testSerializeSspToOutputStream 0.001 s
testLoadCatalogXml(Path) 5.024 s

ReadWriteTest

testOscalCatalogMetrics(Path) 16.64 s

OscalValidationTest

testValidateOscalProfileXml 4.128 s

ControlSelectionVisitorTest

test 0.005 s

ImportTest

test 0.003 s

FilterNonSelectedVisitorTest

test 0.008 s

ModifyPhaseUtilsTest

testMergeOrdering 0.008 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 is @Disabled
testAllowedValues
- skipped: void gov.nist.secauto.oscal.lib.model.util.AbstractNodeItemVisitorTest.testAllowedValues() 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
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 is @Disabled