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% 50.33 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.464 s
gov.nist.secauto.metaschema.schemagen 14 0 0 9 35.7% 48.87 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.308 s
Multiple 2 0 0 0 100% 0.093 s
Character Strings 3 0 0 0 100% 0.077 s
Prose 3 0 0 0 100% 0.060 s
token 5 0 0 0 100% 0.013 s
URI 3 0 0 0 100% 0.021 s
UUID 3 0 0 0 100% 0.018 s
Date 4 0 0 0 100% 0.053 s
Date/Time w/ optional timezone 2 0 0 0 100% 0.031 s
Date/Time w/ required timezone 3 0 0 0 100% 0.043 s
Basic 3 0 0 0 100% 0.044 s
Override Type 1 0 0 0 100% 0.027 s
Array 3 0 0 0 100% 0.011 s
Array Invalid 1 0 0 0 100% 0.020 s
Array Bounded 5 0 0 0 100% 0.014 s
Array Optional 3 0 0 0 100% 0.007 s
By Key 3 0 0 0 100% 0.033 s
Singleton or Array 3 0 0 0 100% 0.025 s
Singleton or Array Optional 5 0 0 0 100% 0.021 s
Misc 1 0 0 0 100% 0.016 s
Field 2 0 0 0 100% 0.032 s
Label 3 0 0 0 100% 0.019 s
Global and Local 1 0 0 0 100% 0.016 s
Global and Scoped Local 1 0 0 0 100% 0.006 s
Modular 1 0 0 0 100% 0.004 s
basic 4 0 0 0 100% 0.122 s
Multiple 2 0 0 0 100% 0.045 s
Character Strings 3 0 0 0 100% 0.026 s
Prose 2 0 0 0 100% 0.032 s
token 4 0 0 0 100% 0.019 s
URI 2 0 0 0 100% 0.014 s
UUID 2 0 0 0 100% 0.013 s
Date 4 0 0 0 100% 0.024 s
Date/Time w/ optional timezone 2 0 0 0 100% 0.015 s
Date/Time w/ required timezone 5 0 0 0 100% 0.025 s
Basic 2 0 0 0 100% 0.013 s
Override Type 1 0 0 0 100% 0.001 s
Array 2 0 0 0 100% 0.010 s
Array Invalid 1 0 0 0 100% 0 s
Array Bounded 3 0 0 0 100% 0.014 s
Array Optional 2 0 0 0 100% 0.011 s
By Key 2 0 0 0 100% 0.013 s
Singleton or Array 3 0 0 0 100% 0.012 s
Singleton or Array Optional 3 0 0 0 100% 0.013 s
Misc 1 0 0 0 100% 0 s
Field 2 0 0 0 100% 0.013 s
Label 3 0 0 0 100% 0.016 s
Global and Local 1 0 0 0 100% 0.001 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
MetaschemaModuleTest 2 0 0 0 100% 14.79 s
JsonSuiteTest 6 0 0 6 0% 15.77 s
XmlSuiteTest 6 0 0 3 50.0% 18.31 s

Test Cases

[Summary] [Package List] [Test Cases]

MetaschemaModuleTest

testGenerateMetaschemaModuleXml 11.02 s
testGenerateMetaschemaModuleJson 3.715 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.210 s
Validate JSON=false: allowed-values-basic_test_baddates_FAIL.json 0.037 s
Validate JSON=false: allowed-values-basic_test_badvalues_FAIL.json 0.023 s
Validate JSON=true: allowed-values-basic_test_valid_PASS.json 0.001 s
Convert and Validate XML=true: allowed-values-basic_test_valid_PASS.xml 0.037 s

Multiple

Validate Schema 0.087 s
Validate JSON=true: choice-multiple_test_multiple_PASS.json 0.006 s

Character Strings

Validate Schema 0.015 s
Validate JSON=true: charstrings_test_okay_PASS.json 0.020 s
Convert and Validate XML=true: charstrings_test_okay_PASS.xml 0.042 s

Prose

Validate Schema 0.036 s
Validate JSON=false: datatypes-prose_test_bad-date_FAIL.json 0.016 s
Validate JSON=true: datatypes-prose_test_valid_PASS.json 0.008 s

token

Validate Schema 0.006 s
Validate JSON=false: datatypes-token_test_invalid_FAIL.json 0.004 s
Validate JSON=false: datatypes-token_test_invalid2_FAIL.json 0.001 s
Validate JSON=true: datatypes-token_test_valid_PASS.json 0.001 s
Validate JSON=true: datatypes-token_test_valid2_PASS.json 0.001 s

URI

Validate Schema 0.008 s
Validate JSON=false: datatypes-uri_test_broken_FAIL.json 0.012 s
Validate JSON=true: datatypes-uri_test_valid_PASS.json 0.001 s

UUID

Validate Schema 0.012 s
Validate JSON=false: datatypes-uuid_test_version-1-invalid_FAIL.json 0.005 s
Validate JSON=true: datatypes-uuid_test_valid_PASS.json 0.001 s

Date

Validate Schema 0.006 s
Validate JSON=false: datatypes-date_test_tricky_FAIL.json 0.019 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.027 s

Date/Time w/ optional timezone

Validate Schema 0.020 s
Validate JSON=true: datatypes-datetime-no-tz_test_valid_PASS.json 0.011 s

Date/Time w/ required timezone

Validate Schema 0.033 s
Validate JSON=true: datatypes-datetime_test_valid_PASS.json 0.003 s
Convert and Validate XML=true: datatypes-datetime_test_working_PASS.xml 0.007 s

Basic

Validate Schema 0.010 s
Validate JSON=false: flag-basic_test_datatype_FAIL.json 0.033 s
Validate JSON=true: flag-basic_test_simple_PASS.json 0.001 s

Override Type

Validate Schema 0.027 s

Array

Validate Schema 0.008 s
Validate JSON=true: group-as-array_test_valid_PASS.json 0.002 s
Validate JSON=false: group-as-array_test_singleton_FAIL.json 0.001 s

Array Invalid

Validate Schema 0.020 s

Array Bounded

Validate Schema 0.004 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.006 s
Validate JSON=false: group-as-array-bounded_test_array-singleton_FAIL.json 0.002 s
Validate JSON=false: group-as-array-bounded_test_array-upper_FAIL.json 0 s

Array Optional

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

By Key

Validate Schema 0.022 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.007 s

Singleton or Array

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

Singleton or Array Optional

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

Misc

Validate Schema 0.016 s

Field

Validate Schema 0.024 s
Validate JSON=true: json-value-key-field_test_valid_PASS.json 0.008 s

Label

Validate Schema 0.016 s
Validate JSON=true: json-value-key-label_test_valid2_PASS.json 0.003 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.006 s

Modular

Validate Schema 0.004 s

XmlSuiteTest

testLocalDeclarations 4.984 s
testByKey 1.151 s
testLiboscalJavaIssue181 6.644 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.004 s
Validate XML=false: allowed-values-basic_test_valid_FAIL.xml 0.098 s
Convert and Validate JSON=true: allowed-values-basic_test_valid_PASS.json 0.017 s
Validate XML=true: allowed-values-basic_test_valid_PASS.xml 0.003 s

Multiple

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

Character Strings

Validate Schema 0.001 s
Convert and Validate JSON=true: charstrings_test_okay_PASS.json 0.023 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.032 s

token

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

URI

Validate Schema 0.001 s
Convert and Validate JSON=true: datatypes-uri_test_valid_PASS.json 0.013 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.017 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.001 s
Convert and Validate JSON=true: datatypes-datetime-no-tz_test_valid_PASS.json 0.014 s

Date/Time w/ required timezone

Validate Schema 0 s
Convert and Validate JSON=true: datatypes-datetime_test_valid_PASS.json 0.016 s
Validate XML=false: datatypes-datetime_test_various_FAIL.xml 0.003 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.012 s

Override Type

Validate Schema 0.001 s

Array

Validate Schema 0 s
Convert and Validate JSON=true: group-as-array_test_valid_PASS.json 0.010 s

Array Invalid

Validate Schema 0 s

Array Bounded

Validate Schema 0 s
Convert and Validate JSON=true: group-as-array-bounded_test_array-inside_PASS.json 0.011 s
Convert and Validate JSON=true: group-as-array-bounded_test_array-inside_PASS.json 0.003 s

Array Optional

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

By Key

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

Singleton or Array

Validate Schema 0 s
Convert and Validate JSON=true: group-as-singleton-or-array_test_singleton_PASS.json 0.009 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.009 s
Convert and Validate JSON=true: group-as-singleton-or-array-optional_test_valid-singleton_PASS.json 0.003 s

Misc

Validate Schema 0 s

Field

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

Label

Validate Schema 0.001 s
Convert and Validate JSON=true: json-value-key-label_test_valid2_PASS.json 0.012 s
Convert and Validate JSON=true: json-value-key-label_test_valid_PASS.json 0.003 s

Global and Local

Validate Schema 0.001 s

Global and Scoped Local

Validate Schema 0 s

Modular

Validate Schema 0 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