Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
42 0 0 3 92.9% 44.77 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% 37.98 s
gov.nist.secauto.oscal.lib.profile.resolver.selection 7 0 0 0 100% 0.483 s
gov.nist.secauto.oscal.lib.profile.resolver 21 0 0 1 95.2% 5.314 s
gov.nist.secauto.oscal.lib.model.util 1 0 0 0 100% 0.965 s
gov.nist.secauto.oscal.lib.profile.resolver.policy 1 0 0 0 100% 0.032 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
ReadWriteTest 1 0 0 0 100% 30.43 s
MetaschemaVisitorTest 1 0 0 1 0% 0.002 s
OscalBindingContextTest 8 0 0 0 100% 7.397 s
ExamplesTest 2 0 0 1 50.0% 0.145 s

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

- Class Tests Errors Failures Skipped Success Rate Time
ControlSelectionVisitorTest 1 0 0 0 100% 0.007 s
FilterNonSelectedVisitorTest 1 0 0 0 100% 0.011 s
DefaultControlSelectionFilterTest 4 0 0 0 100% 0.462 s
ImportTest 1 0 0 0 100% 0.003 s

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

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

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

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

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

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

Test Cases

[Summary] [Package List] [Test Cases]

ControlSelectionVisitorTest

test 0.007 s

ReadWriteTest

testOscalCatalogMetrics(Path) 29.48 s

MetaschemaVisitorTest

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

ModifyPhaseUtilsTest

testMergeOrdering 0.007 s

FilterNonSelectedVisitorTest

test 0.010 s

AbstractNodeItemVisitorTest

testAllowedValues 0.958 s

OscalBindingContextTest

testLoadProfileJson(Path) 0.025 s
testCatalogXmlListItems 0.029 s
testLoadCatalogTightLists 0.009 s
testLoadCatalogJson(Path) 1.669 s
testLoadCatalogYaml(Path) 2.500 s
testLoadCatalogIssue5(Path) 0.010 s
testSerializeSspToOutputStream 0.004 s
testLoadCatalogXml(Path) 3.122 s

ProfileResolutionTests

testImportResourceRelativeLink 0.138 s
testArsModerateProfile 2.989 s
testCircularLink 0.016 s
test(String)[1] 0.425 s
test(String)[2] 0.117 s
test(String)[3] 0.071 s
test(String)[4] 0.120 s
test(String)[5] 0.046 s
test(String)[6] 0.076 s
test(String)[7] 0.048 s
test(String)[8] 0.030 s
test(String)[9] 0.022 s
test(String)[10] 0.017 s
test(String)[11] 0.026 s
test(String)[12] 0.028 s
test(String)[13] 0.041 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.022 s
testOscalVersion 0.007 s

DefaultControlSelectionFilterTest

testSingleSelectionWithIdsWithChildFilter 0.429 s
testSingleSelectionWithIdsFilter 0.001 s
testEmpty 0.001 s
testMultipleSelectionFilter 0.007 s

ExamplesTest

simpleLoadAndSave 0.144 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 -

ReferenceCountingVisitorTest

test 0.030 s

ImportTest

test 0.003 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
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