Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
141 0 0 9 93.6% 75.64 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
(default package) 127 0 0 0 100% 1.978 s
gov.nist.secauto.metaschema.schemagen 14 0 0 9 35.7% 73.66 s

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

(default package)

- Class Tests Errors Failures Skipped Success Rate Time
basic 5 0 0 0 100% 0.438 s
Multiple 2 0 0 0 100% 0.105 s
Character Strings 3 0 0 0 100% 0.120 s
Prose 3 0 0 0 100% 0.091 s
token 5 0 0 0 100% 0.087 s
URI 3 0 0 0 100% 0.067 s
UUID 3 0 0 0 100% 0.035 s
Date 4 0 0 0 100% 0.045 s
Date/Time w/ optional timezone 2 0 0 0 100% 0.029 s
Date/Time w/ required timezone 3 0 0 0 100% 0.042 s
Basic 3 0 0 0 100% 0.047 s
Override Type 1 0 0 0 100% 0.025 s
Array 3 0 0 0 100% 0.012 s
Array Invalid 1 0 0 0 100% 0.013 s
Array Bounded 5 0 0 0 100% 0.019 s
Array Optional 3 0 0 0 100% 0.019 s
By Key 3 0 0 0 100% 0.018 s
Singleton or Array 3 0 0 0 100% 0.048 s
Singleton or Array Optional 5 0 0 0 100% 0.022 s
Misc 1 0 0 0 100% 0.009 s
Field 2 0 0 0 100% 0.040 s
Label 3 0 0 0 100% 0.017 s
Global and Local 1 0 0 0 100% 0.016 s
Global and Scoped Local 1 0 0 0 100% 0.048 s
Modular 1 0 0 0 100% 0.005 s
basic 4 0 0 0 100% 0.152 s
Multiple 2 0 0 0 100% 0.076 s
Character Strings 3 0 0 0 100% 0.029 s
Prose 2 0 0 0 100% 0.035 s
token 4 0 0 0 100% 0.023 s
URI 2 0 0 0 100% 0.016 s
UUID 2 0 0 0 100% 0.013 s
Date 4 0 0 0 100% 0.020 s
Date/Time w/ optional timezone 2 0 0 0 100% 0.017 s
Date/Time w/ required timezone 5 0 0 0 100% 0.022 s
Basic 2 0 0 0 100% 0.016 s
Override Type 1 0 0 0 100% 0.001 s
Array 2 0 0 0 100% 0.014 s
Array Invalid 1 0 0 0 100% 0 s
Array Bounded 3 0 0 0 100% 0.028 s
Array Optional 2 0 0 0 100% 0.015 s
By Key 2 0 0 0 100% 0.014 s
Singleton or Array 3 0 0 0 100% 0.015 s
Singleton or Array Optional 3 0 0 0 100% 0.019 s
Misc 1 0 0 0 100% 0.001 s
Field 2 0 0 0 100% 0.016 s
Label 3 0 0 0 100% 0.018 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.001 s

gov.nist.secauto.metaschema.schemagen

- Class Tests Errors Failures Skipped Success Rate Time
MetaschemaModuleTest 2 0 0 0 100% 23.46 s
JsonSuiteTest 6 0 0 6 0% 23.52 s
XmlSuiteTest 6 0 0 3 50.0% 26.68 s

Test Cases

[Summary] [Package List] [Test Cases]

MetaschemaModuleTest

testGenerateMetaschemaModuleXml 19.14 s
testGenerateMetaschemaModuleJson 4.212 s

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 -
testOscalComplete 0 s
- void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testOscalComplete() 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 -
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

Validate Schema 0.272 s
Validate JSON=false: allowed-values-basic_test_baddates_FAIL.json 0.074 s
Validate JSON=false: allowed-values-basic_test_badvalues_FAIL.json 0.016 s
Validate JSON=true: allowed-values-basic_test_valid_PASS.json 0.010 s
Convert and Validate XML=true: allowed-values-basic_test_valid_PASS.xml 0.066 s

Multiple

Validate Schema 0.081 s
Validate JSON=true: choice-multiple_test_multiple_PASS.json 0.024 s

Character Strings

Validate Schema 0.030 s
Validate JSON=true: charstrings_test_okay_PASS.json 0.022 s
Convert and Validate XML=true: charstrings_test_okay_PASS.xml 0.068 s

Prose

Validate Schema 0.042 s
Validate JSON=false: datatypes-prose_test_bad-date_FAIL.json 0.043 s
Validate JSON=true: datatypes-prose_test_valid_PASS.json 0.006 s

token

Validate Schema 0.065 s
Validate JSON=false: datatypes-token_test_invalid_FAIL.json 0.011 s
Validate JSON=false: datatypes-token_test_invalid2_FAIL.json 0.002 s
Validate JSON=true: datatypes-token_test_valid_PASS.json 0.008 s
Validate JSON=true: datatypes-token_test_valid2_PASS.json 0.001 s

URI

Validate Schema 0.038 s
Validate JSON=false: datatypes-uri_test_broken_FAIL.json 0.028 s
Validate JSON=true: datatypes-uri_test_valid_PASS.json 0.001 s

UUID

Validate Schema 0.023 s
Validate JSON=false: datatypes-uuid_test_version-1-invalid_FAIL.json 0.009 s
Validate JSON=true: datatypes-uuid_test_valid_PASS.json 0.003 s

Date

Validate Schema 0.026 s
Validate JSON=false: datatypes-date_test_tricky_FAIL.json 0.007 s
Validate JSON=true: datatypes-date_test_valid_PASS.json 0.001 s
Convert and Validate XML=true: datatypes-date_test_valid_PASS.xml 0.011 s

Date/Time w/ optional timezone

Validate Schema 0.021 s
Validate JSON=true: datatypes-datetime-no-tz_test_valid_PASS.json 0.008 s

Date/Time w/ required timezone

Validate Schema 0.014 s
Validate JSON=true: datatypes-datetime_test_valid_PASS.json 0.005 s
Convert and Validate XML=true: datatypes-datetime_test_working_PASS.xml 0.023 s

Basic

Validate Schema 0.012 s
Validate JSON=false: flag-basic_test_datatype_FAIL.json 0.034 s
Validate JSON=true: flag-basic_test_simple_PASS.json 0.001 s

Override Type

Validate Schema 0.025 s

Array

Validate Schema 0.005 s
Validate JSON=true: group-as-array_test_valid_PASS.json 0.003 s
Validate JSON=false: group-as-array_test_singleton_FAIL.json 0.004 s

Array Invalid

Validate Schema 0.013 s

Array Bounded

Validate Schema 0.016 s
Validate JSON=true: group-as-array-bounded_test_array-inside_PASS.json 0.002 s
Validate JSON=true: group-as-array-bounded_test_array-inside_PASS.json 0 s
Validate JSON=false: group-as-array-bounded_test_array-singleton_FAIL.json 0.001 s
Validate JSON=false: group-as-array-bounded_test_array-upper_FAIL.json 0 s

Array Optional

Validate Schema 0.012 s
Validate JSON=true: group-as-array-optional_test_valid_PASS.json 0.005 s
Validate JSON=false: group-as-array-optional_test_empty_FAIL.json 0.002 s

By Key

Validate Schema 0.011 s
Validate JSON=true: group-as-by-key_test_valid_PASS.json 0.004 s
Validate JSON=false: group-as-by-key_test_invalid-child_FAIL.json 0.003 s

Singleton or Array

Validate Schema 0.027 s
Validate JSON=true: group-as-singleton-or-array_test_singleton_PASS.json 0.021 s
Validate JSON=true: group-as-singleton-or-array_test_valid-array_PASS.json 0 s

Singleton or Array Optional

Validate Schema 0.015 s
Validate JSON=true: group-as-singleton-or-array-optional_test_valid-array_PASS.json 0.004 s
Validate JSON=true: group-as-singleton-or-array-optional_test_valid-singleton_PASS.json 0 s
Validate JSON=false: group-as-singleton-or-array-optional_test_empty_FAIL.json 0.002 s
Validate JSON=false: group-as-singleton-or-array-optional_test_invalid-array-singleton_FAIL.json 0.001 s

Misc

Validate Schema 0.009 s

Field

Validate Schema 0.026 s
Validate JSON=true: json-value-key-field_test_valid_PASS.json 0.014 s

Label

Validate Schema 0.013 s
Validate JSON=true: json-value-key-label_test_valid2_PASS.json 0.004 s
Validate JSON=true: json-value-key-label_test_valid_PASS.json 0 s

Global and Local

Validate Schema 0.016 s

Global and Scoped Local

Validate Schema 0.048 s

Modular

Validate Schema 0.005 s

XmlSuiteTest

testLocalDeclarations 9.313 s
testByKey 1.423 s
testLiboscalJavaIssue181 7.984 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

Validate Schema 0.003 s
Validate XML=false: allowed-values-basic_test_valid_FAIL.xml 0.103 s
Convert and Validate JSON=true: allowed-values-basic_test_valid_PASS.json 0.040 s
Validate XML=true: allowed-values-basic_test_valid_PASS.xml 0.006 s

Multiple

Validate Schema 0.001 s
Convert and Validate JSON=true: choice-multiple_test_multiple_PASS.json 0.075 s

Character Strings

Validate Schema 0.001 s
Convert and Validate JSON=true: charstrings_test_okay_PASS.json 0.024 s
Validate XML=true: charstrings_test_okay_PASS.xml 0.004 s

Prose

Validate Schema 0.001 s
Convert and Validate JSON=true: datatypes-prose_test_valid_PASS.json 0.034 s

token

Validate Schema 0 s
Validate XML=false: datatypes-token_test_invalid_FAIL.xml 0.013 s
Convert and Validate JSON=true: datatypes-token_test_valid_PASS.json 0.006 s
Convert and Validate JSON=true: datatypes-token_test_valid2_PASS.json 0.004 s

URI

Validate Schema 0 s
Convert and Validate JSON=true: datatypes-uri_test_valid_PASS.json 0.016 s

UUID

Validate Schema 0 s
Convert and Validate JSON=true: datatypes-uuid_test_valid_PASS.json 0.013 s

Date

Validate Schema 0 s
Validate XML=false: datatypes-date_test_fancy_FAIL.xml 0.013 s
Convert and Validate JSON=true: datatypes-date_test_valid_PASS.json 0.006 s
Validate XML=true: datatypes-date_test_valid_PASS.xml 0.001 s

Date/Time w/ optional timezone

Validate Schema 0 s
Convert and Validate JSON=true: datatypes-datetime-no-tz_test_valid_PASS.json 0.017 s

Date/Time w/ required timezone

Validate Schema 0 s
Convert and Validate JSON=true: datatypes-datetime_test_valid_PASS.json 0.014 s
Validate XML=false: datatypes-datetime_test_various_FAIL.xml 0.002 s
Validate XML=false: datatypes-datetime_test_working_FAIL.xml 0.004 s
Validate XML=true: datatypes-datetime_test_working_PASS.xml 0.002 s

Basic

Validate Schema 0.001 s
Convert and Validate JSON=true: flag-basic_test_simple_PASS.json 0.015 s

Override Type

Validate Schema 0.001 s

Array

Validate Schema 0.001 s
Convert and Validate JSON=true: group-as-array_test_valid_PASS.json 0.013 s

Array Invalid

Validate Schema 0 s

Array Bounded

Validate Schema 0.001 s
Convert and Validate JSON=true: group-as-array-bounded_test_array-inside_PASS.json 0.023 s
Convert and Validate JSON=true: group-as-array-bounded_test_array-inside_PASS.json 0.004 s

Array Optional

Validate Schema 0.002 s
Convert and Validate JSON=true: group-as-array-optional_test_valid_PASS.json 0.013 s

By Key

Validate Schema 0 s
Convert and Validate JSON=true: group-as-by-key_test_valid_PASS.json 0.014 s

Singleton or Array

Validate Schema 0 s
Convert and Validate JSON=true: group-as-singleton-or-array_test_singleton_PASS.json 0.012 s
Convert and Validate JSON=true: group-as-singleton-or-array_test_valid-array_PASS.json 0.003 s

Singleton or Array Optional

Validate Schema 0.001 s
Convert and Validate JSON=true: group-as-singleton-or-array-optional_test_valid-array_PASS.json 0.014 s
Convert and Validate JSON=true: group-as-singleton-or-array-optional_test_valid-singleton_PASS.json 0.004 s

Misc

Validate Schema 0.001 s

Field

Validate Schema 0.001 s
Convert and Validate JSON=true: json-value-key-field_test_valid_PASS.json 0.015 s

Label

Validate Schema 0 s
Convert and Validate JSON=true: json-value-key-label_test_valid2_PASS.json 0.014 s
Convert and Validate JSON=true: json-value-key-label_test_valid_PASS.json 0.004 s

Global and Local

Validate Schema 0 s

Global and Scoped Local

Validate Schema 0 s

Modular

Validate Schema 0.001 s

Failure Details

[Summary] [Package List] [Test Cases]


testFlagBasic
- skipped: void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testFlagBasic() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled
testOscalComplete
- skipped: void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testOscalComplete() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled
testDatatypeCharStrings
- skipped: void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testDatatypeCharStrings() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled
testTestMetaschema
- skipped: void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testTestMetaschema() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled
testChoice
- skipped: void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testChoice() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled
testDatatypeUuid
- skipped: void gov.nist.secauto.metaschema.schemagen.JsonSuiteTest.testDatatypeUuid() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled
testAllowedValues
- skipped: void gov.nist.secauto.metaschema.schemagen.XmlSuiteTest.testAllowedValues() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled
testCollapsibleMultiple
- skipped: void gov.nist.secauto.metaschema.schemagen.XmlSuiteTest.testCollapsibleMultiple() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled
testChoiceMultiple
- skipped: void gov.nist.secauto.metaschema.schemagen.XmlSuiteTest.testChoiceMultiple() throws java.io.IOException,gov.nist.secauto.metaschema.core.model.MetaschemaException is @Disabled