Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
200 0 0 0 100% 70.56 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
dev.metaschema.databind.model.impl 6 0 0 0 100% 0.108 s
dev.metaschema.databind.codegen.config 22 0 0 0 100% 0.427 s
dev.metaschema.databind.io 53 0 0 0 100% 15.36 s
dev.metaschema.databind.codegen.typeinfo 22 0 0 0 100% 0.157 s
dev.metaschema.databind.io.xml 3 0 0 0 100% 0.048 s
dev.metaschema.databind 2 0 0 0 100% 0.067 s
dev.metaschema.databind.testing.model 11 0 0 0 100% 0.334 s
dev.metaschema.databind.model.extra 2 0 0 0 100% 5.640 s
dev.metaschema.databind.model.metaschema 8 0 0 0 100% 9.048 s
dev.metaschema.databind.model 8 0 0 0 100% 2.799 s
dev.metaschema.databind.io.json 1 0 0 0 100% 0.170 s
dev.metaschema.databind.codegen.impl 1 0 0 0 100% 0.038 s
dev.metaschema.databind.codegen 61 0 0 0 100% 36.36 s

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

dev.metaschema.databind.model.impl

- Class Tests Errors Failures Skipped Success Rate Time
ConstraintFactoryTest 1 0 0 0 100% 0.052 s
BoundChoiceTest 5 0 0 0 100% 0.056 s

dev.metaschema.databind.codegen.config

- Class Tests Errors Failures Skipped Success Rate Time
BindingConfigurationLoaderTest 3 0 0 0 100% 0.037 s
DefaultBindingConfigurationTest 10 0 0 0 100% 0.196 s
DefaultChoiceGroupBindingConfigurationTest 9 0 0 0 100% 0.194 s

dev.metaschema.databind.io

- Class Tests Errors Failures Skipped Success Rate Time
MetaschemaModuleMetaschemaTest 1 0 0 0 100% 1.142 s
ValidationErrorMessageTest$PathContextTest 3 0 0 0 100% 0.045 s
RequiredFieldValidationTest 10 0 0 0 100% 0.631 s
ValidationErrorMessageTest$FormatAppropriateNamesTest 4 0 0 0 100% 0.063 s
DefaultBoundLoaderTest 1 0 0 0 100% 0.229 s
ChoiceValidationTest 1 0 0 0 100% 0.268 s
ChoiceValidationTest 1 0 0 0 100% 0.757 s
ValidationErrorMessageTest 0 0 0 0 0% 0.706 s
ValidationErrorMessageTest$LocationInformationTest 4 0 0 0 100% 0.051 s
ChoiceValidationTest 1 0 0 0 100% 0.203 s
FormatPathFormatterTest 0 0 0 0 0% 0.063 s
FormatPathFormatterTest$ResolveExplicitTests 3 0 0 0 100% 0.016 s
ValidationErrorMessageTest$EdgeCaseTest 4 0 0 0 100% 0.044 s
ValidationErrorMessageTest$PermissiveLoadingTest 5 0 0 0 100% 0.054 s
MetaschemaModuleMetaschemaTest 1 0 0 0 100% 2.654 s
Issue206MetaschemaReaderTest 3 0 0 0 100% 0.048 s
FormatPathFormatterTest$ResolveAutoTests 4 0 0 0 100% 0.026 s
ValidationErrorMessageTest$NullFieldValueTest 1 0 0 0 100% 0.013 s
FormatDetectorTest 2 0 0 0 100% 0.021 s
MetaschemaModuleMetaschemaTest 1 0 0 0 100% 8.309 s
FormatPathFormatterTest$GetPathFormatterTests 3 0 0 0 100% 0.017 s

dev.metaschema.databind.codegen.typeinfo

- Class Tests Errors Failures Skipped Success Rate Time
ChoiceGroupTypeInfoImplTest 6 0 0 0 100% 0.038 s
AbstractNamedModelInstanceTypeInfoTest 7 0 0 0 100% 0.034 s
DefaultTypeResolverTest 6 0 0 0 100% 0.048 s
JavadocEscapingTest 3 0 0 0 100% 0.037 s

dev.metaschema.databind.io.xml

- Class Tests Errors Failures Skipped Success Rate Time
XmlParserTest 3 0 0 0 100% 0.048 s

dev.metaschema.databind

- Class Tests Errors Failures Skipped Success Rate Time
FnDocTest 1 0 0 0 100% 0.027 s
IBindingContextTest 1 0 0 0 100% 0.040 s

dev.metaschema.databind.testing.model

- Class Tests Errors Failures Skipped Success Rate Time
ModelTest$TestRootAssemblyWithFields 8 0 0 0 100% 0.118 s
ModelTest 0 0 0 0 0% 0.173 s
ModelTest$TestRootAssemblyWithFlags 3 0 0 0 100% 0.043 s

dev.metaschema.databind.model.extra

- Class Tests Errors Failures Skipped Success Rate Time
MetaschemaModuleExternalConstraintsTest 2 0 0 0 100% 5.640 s

dev.metaschema.databind.model.metaschema

- Class Tests Errors Failures Skipped Success Rate Time
BindingConstraintLoaderTest 3 0 0 0 100% 3.707 s
BindingConstraintLoaderTest 1 0 0 0 100% 0.490 s
BindingModuleLoaderTest 1 0 0 0 100% 2.155 s
BindingConstraintLoaderTest 3 0 0 0 100% 2.696 s

dev.metaschema.databind.model

- Class Tests Errors Failures Skipped Success Rate Time
DefaultFieldPropertyTest 3 0 0 0 100% 0.667 s
JsonKeyTest 1 0 0 0 100% 0.927 s
DefaultAssemblyClassBindingTest 2 0 0 0 100% 0.612 s
DefaultFieldPropertyTest 2 0 0 0 100% 0.593 s

dev.metaschema.databind.io.json

- Class Tests Errors Failures Skipped Success Rate Time
JsonParserTest 1 0 0 0 100% 0.170 s

dev.metaschema.databind.codegen.impl

- Class Tests Errors Failures Skipped Success Rate Time
AnnotationGeneratorTest 1 0 0 0 100% 0.038 s

dev.metaschema.databind.codegen

- Class Tests Errors Failures Skipped Success Rate Time
GenerationTest 1 0 0 0 100% 8.742 s
JavadocGenerationTest 1 0 0 0 100% 6.279 s
BasicMetaschemaTest 1 0 0 0 100% 0.601 s
BasicMetaschemaTest 4 0 0 0 100% 9.966 s
JavadocGenerationTest 8 0 0 0 100% 4.026 s
BasicMetaschemaTest 1 0 0 0 100% 0.649 s
JavadocGenerationTest 1 0 0 0 100% 0.540 s
ClassUtilsTest 40 0 0 0 100% 0.305 s
BasicMetaschemaTest 1 0 0 0 100% 1.282 s
JavadocGenerationTest 1 0 0 0 100% 0.648 s
BasicMetaschemaTest 1 0 0 0 100% 2.730 s
JavadocGenerationTest 1 0 0 0 100% 0.594 s

Test Cases

[Summary] [Package List] [Test Cases]

FnDocTest

testSameNode 0.026 s

GenerationTest

testOscalBindingModuleLoader 8.731 s

JavadocGenerationTest

testRequiredFlagJavadocDoesNotMentionNull 0.459 s

MetaschemaModuleMetaschemaTest

testReadMetaschemaAsXml 1.142 s

ChoiceGroupTypeInfoImplTest

testGetJavaFieldTypeReturnsListOfObjectWhenNoBindingConfig 0.005 s
testGetJavaFieldTypeReturnsWildcardTypeWhenConfigured 0.003 s
testGetJavaFieldTypeReturnsSingletonWhenMaxOccursIsOne 0.003 s
testGetJavaFieldTypeReturnsMapWithWildcardForKeyedGroups 0.005 s
testGetJavaFieldTypeWithMaxOccursGreaterThanOne 0.005 s
testGetJavaFieldTypeReturnsNonWildcardTypeWhenNotConfigured 0.004 s

BasicMetaschemaTest

testSimpleWithFieldMetaschema 0.601 s

ModelTest$TestRootAssemblyWithFields

parseXmlPartial 0.027 s
parseJsonPartial 0.018 s
parseXmlComplete 0.013 s
parseJsonValueKeyFlag 0.007 s
parseJsonComplete 0.012 s
testRootAssemblyWithFields 0.019 s
parseXmlMinimal 0.010 s
parseJsonMinimal 0.008 s

ValidationErrorMessageTest$PathContextTest

testErrorAtDocumentRootShowsRootPath 0.012 s
testErrorIncludesPathForJson 0.011 s
testErrorIncludesPathForXml 0.009 s

RequiredFieldValidationTest

testErrorMessageIncludesFieldName(String)[1] 0.017 s
testErrorMessageIncludesFieldName(String)[2] 0.011 s
testValidXmlParsesSuccessfully 0.008 s
testMissingRequiredFieldInXmlThrowsError 0.006 s
testMissingRequiredFlagInJsonThrowsError 0.004 s
testMissingRequiredFieldInJsonThrowsError 0.005 s
testValidJsonParsesSuccessfully 0.004 s
testValidationCanBeToggledViaFeatureFlag 0.005 s
testMissingRequiredAssemblyInXmlThrowsError 0.022 s
testMissingRequiredFlagInXmlThrowsError 0.020 s

ConstraintFactoryTest

letExpressionTest 0.048 s

BindingConstraintLoaderTest

testValid 0.472 s
testConstraintBindingSupportParsesReportConstraint 0.024 s
testTraceReportConstraintLoading 0.021 s

BindingConfigurationLoaderTest

testDefault 0.001 s
testLoadOscalBindingConfiguration 0.024 s
testConfiguredNamespace 0.006 s

ValidationErrorMessageTest$FormatAppropriateNamesTest

testMissingAssemblyShowsElementForXml 0.025 s
testMissingFlagShowsPropertyForJson 0.009 s
testMissingFlagShowsAttributeForXml 0.010 s
testMissingFieldShowsElementForXml 0.012 s

DefaultBoundLoaderTest

testIssue187 0.226 s

ChoiceValidationTest

testChoiceWithConstraintValidation 0.268 s

ChoiceValidationTest

testChoiceAlternativeSatisfiesRequirement(String)[2] 0.278 s

ValidationErrorMessageTest$LocationInformationTest

testErrorIncludesLineNumber 0.012 s
testJsonErrorIncludesLocation 0.015 s
testErrorIncludesColumnNumber 0.011 s
testErrorIncludesFileUri 0.011 s

JsonParserTest

testIssue308Regression 0.166 s

ChoiceValidationTest

testChoiceAlternativeSatisfiesRequirement(String)[1] 0.203 s

IBindingContextTest

testConstraints 0.037 s

BoundChoiceTest

testInvalidNonAdjacentChoiceThrowsException 0.020 s
testValidChoiceInstancesCreated 0.007 s
testMultipleChoiceGroups 0.005 s
testBoundInstanceModelChoiceId 0.014 s
testChoiceInstanceProperties 0.005 s

FormatPathFormatterTest$ResolveExplicitTests

testJsonPointerSelectionIgnoresFormat 0.007 s
testMetapathSelectionIgnoresFormat 0.003 s
testXpathSelectionIgnoresFormat 0.004 s

ValidationErrorMessageTest$EdgeCaseTest

testMultipleMissingPropertiesGroupedByType 0.010 s
testParentElementNameInErrorMessage 0.011 s
testErrorWithoutSourceUri 0.010 s
testDefaultValueNotReportedAsMissing 0.008 s

ValidationErrorMessageTest$PermissiveLoadingTest

testPermissiveLoaderAllowsPartialDocuments 0.006 s
testNewPermissiveBoundLoaderHasValidationDisabled 0.003 s
testNewBoundLoaderHasValidationEnabledByDefault 0.006 s
testStrictLoaderValidatesRequiredFields 0.010 s
testPermissiveLoaderSkipsRequiredFieldValidation 0.020 s

ModelTest$TestRootAssemblyWithFlags

testRootAssemblyWithFlags 0.018 s
parseXmlMinimal 0.012 s
parseJsonMinimal 0.009 s

BindingConstraintLoaderTest

testExpectConstraintPreservedThroughRegisterModule 0.490 s

BasicMetaschemaTest

testAssemblyMetaschema 0.824 s
testLocalDefinitionsMetaschema 0.591 s
testSimpleMetaschema 0.496 s
codegenTest 2.349 s

JavadocGenerationTest

testFieldJavadocDoesNotContainQuotes 0.611 s
testRequiredFlagHasNonNullAnnotation 0.426 s
testOptionalFlagHasNullableAnnotation 0.453 s
testClassHasJavadocWithOnlyFormalName 0.433 s
testConstructorHasJavadoc 0.457 s
testSetterHasParamTag 0.604 s
testClassHasJavadocWithNoDocs 0.560 s
testDataConstructorHasParamTag 0.482 s

MetaschemaModuleMetaschemaTest

testModuleLoader 2.654 s

DefaultBindingConfigurationTest

testLoader 0.014 s
testChoiceGroupBindingParsing 0.008 s
testDefinitionNotInBindingConfig 0.007 s
testNonExistentCollectionClassThrowsError 0.011 s
testFieldDefinitionPropertyBinding 0.020 s
testPropertyBindingWithoutJavaElement 0.027 s
testEmptyChoiceGroupBindings 0.020 s
testCollectionClassOverride 0.043 s
testInvalidCollectionClassThrowsError 0.016 s
testDuplicatePropertyBindingLastWins 0.019 s

Issue206MetaschemaReaderTest

testIssue205Json 0.023 s
testIssue205XmlEmptyValue 0.008 s
testIssue205XmlNoValue 0.006 s

FormatPathFormatterTest$ResolveAutoTests

testAutoWithNullReturnsFallback 0.011 s
testAutoWithJsonReturnsJsonPointer 0.006 s
testAutoWithYamlReturnsJsonPointer 0.004 s
testAutoWithXmlReturnsXPath 0.003 s

DefaultFieldPropertyTest

testJsonReadMissingFieldValue 0.015 s
testJsonReadFieldValueKey 0.018 s
testJsonReadFlag 0.014 s

MetaschemaModuleExternalConstraintsTest

testExternalBinding 5.568 s
testInternalBinding 0.052 s

BasicMetaschemaTest

testSimpleUuidMetaschema 0.649 s

JavadocGenerationTest

testRequiredFlagSetterHasNonNullParameter 0.540 s

ClassUtilsTest

testToPropertyNameWithDigitPrefix(String, String)[1] 0.012 s
testToPropertyNameWithDigitPrefix(String, String)[2] 0.004 s
testToPackageName(String, String)[1] 0.025 s
testToPackageName(String, String)[2] 0.006 s
testToPackageName(String, String)[3] 0.006 s
testToPackageName(String, String)[4] 0.006 s
testToPackageName(String, String)[5] 0.004 s
testToVariableName(String, String)[1] 0.005 s
testToVariableName(String, String)[2] 0.003 s
testToVariableName(String, String)[3] 0.004 s
testToVariableName(String, String)[4] 0.004 s
testToVariableName(String, String)[5] 0.004 s
testToVariableName(String, String)[6] 0.005 s
testToVariableName(String, String)[7] 0.003 s
testToVariableName(String, String)[8] 0.006 s
testToPropertyName(String, String)[1] 0.003 s
testToPropertyName(String, String)[2] 0.004 s
testToPropertyName(String, String)[3] 0.006 s
testToPropertyName(String, String)[4] 0.002 s
testToPropertyName(String, String)[5] 0.002 s
testToPropertyName(String, String)[6] 0.004 s
testToPropertyName(String, String)[7] 0.006 s
testToPropertyName(String, String)[8] 0.004 s
testToPropertyName(String, String)[9] 0.009 s
testToPropertyName(String, String)[10] 0.003 s
testToPackageNameWithReservedWord 0.002 s
testToClassNameWithDigitPrefix(String, String)[2] 0.004 s
testToClassNameWithDigitPrefix(String, String)[1] 0.003 s
testToPackageNameWithContextualKeyword(String, String)[3] 0.001 s
testToPackageNameWithContextualKeyword(String, String)[4] 0.001 s
testToPackageNameWithContextualKeyword(String, String)[5] 0.001 s
testToPackageNameWithContextualKeyword(String, String)[6] 0.001 s
testToPackageNameWithContextualKeyword(String, String)[2] 0.001 s
testToPackageNameWithContextualKeyword(String, String)[1] 0.001 s
testToClassName(String, String)[4] 0.005 s
testToClassName(String, String)[5] 0.001 s
testToClassName(String, String)[1] 0.011 s
testToClassName(String, String)[2] 0.003 s
testToClassName(String, String)[3] 0.007 s
testToPropertyNameWithEmptyInput 0.001 s

BasicMetaschemaTest

testFieldsWithFlagMetaschema 1.282 s

JavadocGenerationTest

testNullableAnnotationPresent 0.648 s

BindingModuleLoaderTest

test 2.152 s

JsonKeyTest

testJsonKey 0.926 s

BindingConstraintLoaderTest

testBindingConstraintLoaderReturnsReportConstraints 2.131 s
testCompareExpectVsReportYamlParsing 0.034 s
testReportConstraintLoading 0.531 s

BasicMetaschemaTest

testExistsWithVariable 2.730 s

XmlParserTest

testXmlRead 0.012 s
testXmlReadGroupedField 0.011 s
testXmlReadFlagProperty 0.024 s

ValidationErrorMessageTest$NullFieldValueTest

testNullFieldValueDoesNotThrowNpe 0.010 s

AnnotationGeneratorTest

letAssignmentTest 0.036 s

AbstractNamedModelInstanceTypeInfoTest

testIsRequiredRestoredWhenChoiceIdCleared 0.006 s
testIsRequiredReturnsFalseForOptionalProperty 0.004 s
testIsRequiredReturnsTrueForRequiredSingleProperty 0.004 s
testIsRequiredReturnsFalseForBoundedCollectionProperty 0.002 s
testIsRequiredReturnsFalseForCollectionProperty 0.006 s
testIsRequiredReturnsFalseForOptionalPropertyInsideChoiceBlock 0.002 s
testIsRequiredReturnsFalseForPropertyInsideChoiceBlock 0.004 s

JavadocGenerationTest

testGetterHasReturnTag 0.594 s

DefaultTypeResolverTest

testGetClassNameReturnsObjectWhenNoChoiceGroupBinding 0.007 s
testGetClassNameReturnsConfiguredItemType 0.004 s
testGetClassNameWithNestedClassType 0.006 s
testGetClassNameReturnsObjectWhenItemTypeIsNull 0.002 s
testGetClassNameReturnsObjectWhenNoBindingConfig 0.007 s
testGetClassNameIgnoresWildcardSetting 0.009 s

DefaultAssemblyClassBindingTest

testMinimalJsonParse 0.163 s
testModule 0.009 s

DefaultFieldPropertyTest

testJsonReadField 0.581 s
testJsonReadFieldDefaultValueKey 0.012 s

FormatDetectorTest

testDetectJson 0.007 s
testDetectXml 0.006 s

JavadocEscapingTest

testGetterJavadocEscapesAmpersand 0.008 s
testJavadocWithNormalFormalName 0.004 s
testSetterJavadocEscapesAmpersand 0.004 s

DefaultChoiceGroupBindingConfigurationTest

testNonExistentGroupNameReturnsNull 0.040 s
testGetItemTypeNameWhenNotSpecified 0.009 s
testMissingResourceFileThrowsException 0.032 s
testIsUseWildcardDefaultsToTrue 0.017 s
testGetItemTypeNameWhenSpecified 0.023 s
testEmptyChoiceGroupBindingsMap 0.016 s
testIsUseWildcardWhenNoItemType 0.018 s
testIsUseWildcardWhenExplicitlyFalse 0.015 s
testGetGroupAsName 0.011 s

MetaschemaModuleMetaschemaTest

testOscalBindingModuleLoader 4.511 s

FormatPathFormatterTest$GetPathFormatterTests

testJsonReturnsJsonPointerFormatter 0.005 s
testYamlReturnsJsonPointerFormatter 0.006 s
testXmlReturnsXPathFormatter 0.005 s