Surefire Report
Summary
[Summary] [Package List] [Test Cases]
| Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|
| 131 | 0 | 0 | 10 | 92.4% | 64.00 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 |
|---|---|---|---|---|---|---|
| - | 118 | 0 | 0 | 0 | 100% | 21.83 s |
| gov.nist.secauto.metaschema.schemagen | 13 | 0 | 0 | 10 | 23.1% | 42.17 s |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| basic | 5 | 0 | 0 | 0 | 100% | 6.580 s | |
| Multiple | 2 | 0 | 0 | 0 | 100% | 1.011 s | |
| Character Strings | 3 | 0 | 0 | 0 | 100% | 0.778 s | |
| Prose | 3 | 0 | 0 | 0 | 100% | 0.712 s | |
| URI | 3 | 0 | 0 | 0 | 100% | 0.534 s | |
| UUID | 3 | 0 | 0 | 0 | 100% | 0.534 s | |
| Date | 4 | 0 | 0 | 0 | 100% | 0.645 s | |
| Date/Time w/ optional timezone | 2 | 0 | 0 | 0 | 100% | 0.469 s | |
| Date/Time w/ required timezone | 3 | 0 | 0 | 0 | 100% | 0.478 s | |
| Basic | 3 | 0 | 0 | 0 | 100% | 0.374 s | |
| Override Type | 1 | 0 | 0 | 0 | 100% | 0.065 s | |
| Array | 3 | 0 | 0 | 0 | 100% | 0.429 s | |
| Array Invalid | 1 | 0 | 0 | 0 | 100% | 0.045 s | |
| Array Bounded | 5 | 0 | 0 | 0 | 100% | 0.446 s | |
| Array Optional | 3 | 0 | 0 | 0 | 100% | 0.333 s | |
| By Key | 3 | 0 | 0 | 0 | 100% | 0.453 s | |
| Singleton or Array | 3 | 0 | 0 | 0 | 100% | 0.277 s | |
| Singleton or Array Optional | 5 | 0 | 0 | 0 | 100% | 0.315 s | |
| Misc | 1 | 0 | 0 | 0 | 100% | 0.085 s | |
| Field | 2 | 0 | 0 | 0 | 100% | 0.419 s | |
| Label | 3 | 0 | 0 | 0 | 100% | 0.393 s | |
| Global and Local | 1 | 0 | 0 | 0 | 100% | 0.042 s | |
| Global and Scoped Local | 1 | 0 | 0 | 0 | 100% | 0.053 s | |
| Modular | 1 | 0 | 0 | 0 | 100% | 0.059 s | |
| basic | 4 | 0 | 0 | 0 | 100% | 1.349 s | |
| Multiple | 2 | 0 | 0 | 0 | 100% | 0.963 s | |
| Character Strings | 3 | 0 | 0 | 0 | 100% | 0.250 s | |
| Prose | 2 | 0 | 0 | 0 | 100% | 0.377 s | |
| URI | 2 | 0 | 0 | 0 | 100% | 0.252 s | |
| UUID | 2 | 0 | 0 | 0 | 100% | 0.217 s | |
| Date | 4 | 0 | 0 | 0 | 100% | 0.257 s | |
| Date/Time w/ optional timezone | 2 | 0 | 0 | 0 | 100% | 0.299 s | |
| Date/Time w/ required timezone | 5 | 0 | 0 | 0 | 100% | 0.325 s | |
| Basic | 2 | 0 | 0 | 0 | 100% | 0.191 s | |
| Override Type | 1 | 0 | 0 | 0 | 100% | 0 s | |
| Array | 2 | 0 | 0 | 0 | 100% | 0.242 s | |
| Array Invalid | 1 | 0 | 0 | 0 | 100% | 0 s | |
| Array Bounded | 3 | 0 | 0 | 0 | 100% | 0.346 s | |
| Array Optional | 2 | 0 | 0 | 0 | 100% | 0.169 s | |
| By Key | 2 | 0 | 0 | 0 | 100% | 0.230 s | |
| Singleton or Array | 3 | 0 | 0 | 0 | 100% | 0.172 s | |
| Singleton or Array Optional | 3 | 0 | 0 | 0 | 100% | 0.171 s | |
| Misc | 1 | 0 | 0 | 0 | 100% | 0.001 s | |
| Field | 2 | 0 | 0 | 0 | 100% | 0.274 s | |
| Label | 3 | 0 | 0 | 0 | 100% | 0.211 s | |
| Global and Local | 1 | 0 | 0 | 0 | 100% | 0 s | |
| Global and Scoped Local | 1 | 0 | 0 | 0 | 100% | 0 s | |
| Modular | 1 | 0 | 0 | 0 | 100% | 0 s |
gov.nist.secauto.metaschema.schemagen
| - | Class | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|---|
| JsonSuiteTest | 6 | 0 | 0 | 6 | 0% | 18.89 s | |
| XmlSuiteTest | 7 | 0 | 0 | 4 | 42.9% | 23.28 s |
Test Cases
[Summary] [Package List] [Test Cases]
JsonSuiteTest
| testFlagBasic | 0 s | |
| - | void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testFlagBasic() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled | - |
| testDatatypeCharStrings | 0 s | |
| - | void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testDatatypeCharStrings() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled | - |
| testTestMetaschema | 0 s | |
| - | void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testTestMetaschema() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled | - |
| testOSCALComplete | 0 s | |
| - | void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testOSCALComplete() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled | - |
| testChoice | 0 s | |
| - | void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testChoice() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled | - |
| testDatatypeUuid | 0 s | |
| - | void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testDatatypeUuid() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled | - |
basic
Multiple
| Validate Schema | 0.171 s | |
| Validate JSON=true: choice-multiple_test_multiple_PASS.json | 0.840 s |
Character Strings
| Validate Schema | 0.076 s | |
| Validate JSON=true: charstrings_test_okay_PASS.json | 0.619 s | |
| Convert and Validate XML=true: charstrings_test_okay_PASS.xml | 0.083 s |
Prose
| Validate Schema | 0.112 s | |
| Validate JSON=false: datatypes-prose_test_bad-date_FAIL.json | 0.599 s | |
| Validate JSON=true: datatypes-prose_test_valid_PASS.json | 0.001 s |
URI
| Validate Schema | 0.049 s | |
| Validate JSON=false: datatypes-uri_test_broken_FAIL.json | 0.484 s | |
| Validate JSON=true: datatypes-uri_test_valid_PASS.json | 0.001 s |
UUID
| Validate Schema | 0.037 s | |
| Validate JSON=false: datatypes-uuid_test_version-1-invalid_FAIL.json | 0.497 s | |
| Validate JSON=true: datatypes-uuid_test_valid_PASS.json | 0 s |
Date
Date/Time w/ optional timezone
| Validate Schema | 0.056 s | |
| Validate JSON=true: datatypes-datetime-no-tz_test_valid_PASS.json | 0.413 s |
Date/Time w/ required timezone
| Validate Schema | 0.043 s | |
| Validate JSON=true: datatypes-datetime_test_valid_PASS.json | 0.406 s | |
| Convert and Validate XML=true: datatypes-datetime_test_working_PASS.xml | 0.029 s |
Basic
| Validate Schema | 0.048 s | |
| Validate JSON=false: flag-basic_test_datatype_FAIL.json | 0.324 s | |
| Validate JSON=true: flag-basic_test_simple_PASS.json | 0.002 s |
Override Type
| Validate Schema | 0.065 s |
Array
| Validate Schema | 0.048 s | |
| Validate JSON=true: group-as-array_test_valid_PASS.json | 0.380 s | |
| Validate JSON=false: group-as-array_test_singleton_FAIL.json | 0.001 s |
Array Invalid
| Validate Schema | 0.045 s |
Array Bounded
Array Optional
| Validate Schema | 0.022 s | |
| Validate JSON=true: group-as-array-optional_test_valid_PASS.json | 0.309 s | |
| Validate JSON=false: group-as-array-optional_test_empty_FAIL.json | 0.002 s |
By Key
| Validate Schema | 0.038 s | |
| Validate JSON=true: group-as-by-key_test_valid_PASS.json | 0.414 s | |
| Validate JSON=false: group-as-by-key_test_invalid-child_FAIL.json | 0.001 s |
Singleton or Array
| Validate Schema | 0.019 s | |
| Validate JSON=true: group-as-singleton-or-array_test_singleton_PASS.json | 0.257 s | |
| Validate JSON=true: group-as-singleton-or-array_test_valid-array_PASS.json | 0.001 s |
Singleton or Array Optional
Misc
| Validate Schema | 0.085 s |
Field
| Validate Schema | 0.044 s | |
| Validate JSON=true: json-value-key-field_test_valid_PASS.json | 0.375 s |
Label
| Validate Schema | 0.038 s | |
| Validate JSON=true: json-value-key-label_test_valid2_PASS.json | 0.355 s | |
| Validate JSON=true: json-value-key-label_test_valid_PASS.json | 0 s |
Global and Local
| Validate Schema | 0.042 s |
Global and Scoped Local
| Validate Schema | 0.053 s |
Modular
| Validate Schema | 0.059 s |
XmlSuiteTest
| testLocalDeclarations | 9.364 s | |
| testByKey | 0 s | |
| - | void gov.nist.secauto.metaschema.schemagen.XmlSuiteTest.testByKey() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled | - |
| testliboscalJavaIssue181 | 3.769 s | |
| testLiboscalJavaIssue181 | 1.336 s | |
| testAllowedValues | 0 s | |
| - | void gov.nist.secauto.metaschema.schemagen.XmlSuiteTest.testAllowedValues() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled | - |
| testCollapsibleMultiple | 0 s | |
| - | void gov.nist.secauto.metaschema.schemagen.XmlSuiteTest.testCollapsibleMultiple() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled | - |
| testChoiceMultiple | 0 s | |
| - | void gov.nist.secauto.metaschema.schemagen.XmlSuiteTest.testChoiceMultiple() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled | - |
basic
Multiple
| Validate Schema | 0 s | |
| Convert and Validate JSON=true: choice-multiple_test_multiple_PASS.json | 0.963 s |
Character Strings
| Validate Schema | 0.002 s | |
| Convert and Validate JSON=true: charstrings_test_okay_PASS.json | 0.246 s | |
| Validate XML=true: charstrings_test_okay_PASS.xml | 0.002 s |
Prose
| Validate Schema | 0 s | |
| Convert and Validate JSON=true: datatypes-prose_test_valid_PASS.json | 0.377 s |
URI
| Validate Schema | 0.001 s | |
| Convert and Validate JSON=true: datatypes-uri_test_valid_PASS.json | 0.251 s |
UUID
| Validate Schema | 0.001 s | |
| Convert and Validate JSON=true: datatypes-uuid_test_valid_PASS.json | 0.216 s |
Date
Date/Time w/ optional timezone
| Validate Schema | 0.001 s | |
| Convert and Validate JSON=true: datatypes-datetime-no-tz_test_valid_PASS.json | 0.298 s |
Date/Time w/ required timezone
Basic
| Validate Schema | 0 s | |
| Convert and Validate JSON=true: flag-basic_test_simple_PASS.json | 0.191 s |
Override Type
| Validate Schema | 0 s |
Array
| Validate Schema | 0.001 s | |
| Convert and Validate JSON=true: group-as-array_test_valid_PASS.json | 0.241 s |
Array Invalid
| Validate Schema | 0 s |
Array Bounded
Array Optional
| Validate Schema | 0.001 s | |
| Convert and Validate JSON=true: group-as-array-optional_test_valid_PASS.json | 0.168 s |
By Key
| Validate Schema | 0 s | |
| Convert and Validate JSON=true: group-as-by-key_test_valid_PASS.json | 0.230 s |
Singleton or Array
Singleton or Array Optional
Misc
| Validate Schema | 0.001 s |
Field
| Validate Schema | 0 s | |
| Convert and Validate JSON=true: json-value-key-field_test_valid_PASS.json | 0.274 s |
Label
| Validate Schema | 0.001 s | |
| Convert and Validate JSON=true: json-value-key-label_test_valid2_PASS.json | 0.205 s | |
| Convert and Validate JSON=true: json-value-key-label_test_valid_PASS.json | 0.005 s |
Global and Local
| Validate Schema | 0 s |
Global and Scoped Local
| Validate Schema | 0 s |
Modular
| Validate Schema | 0 s |
Failure Details
[Summary] [Package List] [Test Cases]