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% 117.0 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% 82.57 s
gov.nist.secauto.oscal.lib.profile.resolver.selection 7 0 0 0 100% 0.771 s
gov.nist.secauto.oscal.lib.profile.resolver 22 0 0 1 95.5% 22.87 s
gov.nist.secauto.oscal.lib.validation 2 0 0 0 100% 6.907 s
gov.nist.secauto.oscal.lib.model.util 3 0 0 1 66.7% 3.764 s
gov.nist.secauto.oscal.lib.profile.resolver.policy 1 0 0 0 100% 0.076 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% 34.74 s
ExamplesTest 1 0 0 0 100% 1.057 s
OscalBindingContextTest 7 0 0 0 100% 23.19 s
MetaschemaVisitorTest 1 0 0 1 0% 0.034 s
ExamplesTest 1 0 0 1 0% 0 s
OscalBindingContextTest 1 0 0 0 100% 23.55 s

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

- Class Tests Errors Failures Skipped Success Rate Time
FilterNonSelectedVisitorTest 1 0 0 0 100% 0.038 s
DefaultControlSelectionFilterTest 4 0 0 0 100% 0.702 s
ImportTest 1 0 0 0 100% 0.013 s
ControlSelectionVisitorTest 1 0 0 0 100% 0.018 s

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

- Class Tests Errors Failures Skipped Success Rate Time
ProfileResolutionTests 14 0 0 0 100% 1.888 s
ModifyPhaseUtilsTest 1 0 0 0 100% 0.013 s
ProfileResolutionTests 3 0 0 0 100% 19.98 s
ProfileResolutionTests 4 0 0 1 75.0% 0.987 s

gov.nist.secauto.oscal.lib.validation

- Class Tests Errors Failures Skipped Success Rate Time
OscalValidationTest 2 0 0 0 100% 6.907 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
AllowedValueCollectingNodeItemVisitorTest 2 0 0 0 100% 3.763 s

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

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

Test Cases

[Summary] [Package List] [Test Cases]

FilterNonSelectedVisitorTest

test 0.034 s

OscalValidationTest

testValidateProfileWithMissingControls 1.150 s
testValidateOscalProfileXml 5.746 s

ProfileResolutionTests

test(String)[1] 0.200 s
test(String)[2] 0.153 s
test(String)[3] 0.168 s
test(String)[4] 0.146 s
test(String)[5] 0.214 s
test(String)[6] 0.197 s
test(String)[7] 0.168 s
test(String)[8] 0.092 s
test(String)[9] 0.088 s
test(String)[10] 0.080 s
test(String)[11] 0.109 s
test(String)[12] 0.119 s
test(String)[13] 0.133 s
testCircularLink 0.021 s

ReadWriteTest

testOscalCatalogMetrics(Path) 34.55 s

ExamplesTest

simpleLoadAndSave 1.021 s

ModifyPhaseUtilsTest

testMergeOrdering 0.010 s

AbstractNodeItemVisitorTest

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

ProfileResolutionTests

testImportResourceRelativeLink 0.021 s
testMultipleImports 9.598 s
testArsModerateProfile 5.199 s

OscalBindingContextTest

testLoadProfileJson(Path) 0.047 s
testCatalogXmlListItems 0.016 s
testLoadCatalogTightLists 0.006 s
testLoadCatalogXml(Path) 17.35 s
testSerializeSspToOutputStream 0.002 s
testLoadCatalogIssue5(Path) 0.033 s
testLoadCatalogJson(Path) 5.733 s

AllowedValueCollectingNodeItemVisitorTest

testAllowedValuesMissingVariableBindings 1.201 s
testAllowedValuesMissingVariableBindings2 2.545 s

ProfileResolutionTests

testOscalVersion 0.362 s
testSingle 0.609 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.016 s

DefaultControlSelectionFilterTest

testMultipleSelectionFilter 0.663 s
testEmpty 0.002 s
testSingleSelectionWithIdsFilter 0.002 s
testSingleSelectionWithIdsWithChildFilter 0.002 s

ImportTest

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

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 is @Disabled -

ControlSelectionVisitorTest

test 0.013 s

ReferenceCountingVisitorTest

test 0.073 s

OscalBindingContextTest

testLoadCatalogYaml(Path) 6.762 s

Failure Details

[Summary] [Package List] [Test Cases]


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
test
- skipped: void gov.nist.secauto.oscal.java.MetaschemaVisitorTest.test() throws java.io.FileNotFoundException,java.io.IOException,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