Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
65 0 0 0 100% 7.528 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
org.bremersee.xml 65 0 0 0 100% 7.528 s

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

org.bremersee.xml

- Class Tests Errors Failures Skipped Success Rate Time
JaxbContextDetailsTest 3 0 0 0 100% 2.974 s
JaxbContextBuilderTest 8 0 0 0 100% 2.868 s
SchemaBuilderTest 11 0 0 0 100% 0.317 s
JaxbContextWrapperTest 13 0 0 0 100% 0.208 s
XmlDocumentBuilderTest 15 0 0 0 100% 0.318 s
JaxbUtilsTest 7 0 0 0 100% 0.410 s
XmlRuntimeExceptionTest 1 0 0 0 100% 0.003 s
JaxbRuntimeExceptionTest 1 0 0 0 100% 0.185 s
JaxbContextDataTest 6 0 0 0 100% 0.245 s

Test Cases

[Summary] [Package List] [Test Cases]

JaxbContextDetailsTest

empty(SoftAssertions) 2.726 s
withContextPaths(SoftAssertions) 0.189 s
withClasses(SoftAssertions) 0.022 s

JaxbContextBuilderTest

buildSchema(SoftAssertions) 0.705 s
writeAndReadDateTime(SoftAssertions) 0.343 s
buildUnmarshaller(SoftAssertions) 0.072 s
readAndWriteElement(SoftAssertions) 0.446 s
buildJaxbContext(SoftAssertions) 1.134 s
buildMarshaller(SoftAssertions) 0.060 s
writeAndReadDateTimeWithEmptyContext(SoftAssertions) 0.070 s
writeAndReadAnyElements 0.025 s

SchemaBuilderTest

buildSchemaWithLocation(SoftAssertions) 0.114 s
buildSchemaWithSource 0.005 s
buildSchemaWithIllegalStreamSource 0.016 s
fetchSchemaSourcesThatDoesNotExist 0.004 s
buildSchemaWithUrl 0.020 s
buildSchemaWithFile 0.004 s
buildSchemaWithNull(SoftAssertions) 0.004 s
createSchemaFactoryWthIllegalProperty 0.006 s
buildSchemaWithIllegalFile 0.003 s
fetchSchemaSources 0.119 s
buildSchemaWithIllegalUrl 0.008 s

JaxbContextWrapperTest

generateSchema 0.003 s
getValidationEventHandler(SoftAssertions) 0.002 s
useSchemaAndExpectValidationFails(SoftAssertions) 0.139 s
getDetails(SoftAssertions) 0.006 s
createJaxbIntrospector 0.001 s
getSchemaMode(SoftAssertions) 0.001 s
getAttachmentUnmarshaller(SoftAssertions) 0.001 s
useSchema(SoftAssertions) 0.020 s
isFormattedOutput(SoftAssertions) 0.002 s
getXmlAdapters(SoftAssertions) 0.002 s
getDetailsWithJaxbContextDataStream 0.008 s
createBinder 0.002 s
getAttachmentMarshaller(SoftAssertions) 0.001 s

XmlDocumentBuilderTest

buildDocumentFromIllegalUri 0.005 s
buildDocumentFromFile 0.004 s
createDocumentBuilder 0.065 s
buildDocumentFromUri 0.020 s
buildDocumentWithInputStream(SoftAssertions) 0.014 s
testWithoutNamespaces(SoftAssertions) 0.093 s
buildDocumentWithJaxbContext(SoftAssertions) 0.013 s
testWithNamespaces(SoftAssertions) 0.019 s
buildDocumentFromFileAndExpectException 0.002 s
buildDocument 0.001 s
buildDocumentWithMarshaller(SoftAssertions) 0.016 s
buildDocumentFromInputSource 0.002 s
testWithoutNamespacesAndExpectError 0.025 s
configureFactoryAttribute 0.003 s
buildDocumentFromIllegalFileAndExpectException(SoftAssertions) 0.007 s

JaxbUtilsTest

getNameSpaceOfType(SoftAssertions) 0.113 s
isJaxbModelPackage(SoftAssertions) 0.003 s
getSchemaLocation(SoftAssertions) 0.002 s
getNameSpaceOfElement(SoftAssertions) 0.004 s
getNameSpace(SoftAssertions) 0.002 s
isInJaxbModelPackage(SoftAssertions) 0.002 s
findJaxbClasses(SoftAssertions) 0.276 s

XmlRuntimeExceptionTest

testConstructors(SoftAssertions) 0.002 s

JaxbRuntimeExceptionTest

testConstructors(SoftAssertions) 0.183 s

JaxbContextDataTest

withIllegalPackage 0.008 s
withClassAsPackage(SoftAssertions) 0.009 s
withPackage(SoftAssertions) 0.202 s
withIllegalClass 0.002 s
withClass(SoftAssertions) 0.011 s
withIllegalClassAsPackage 0.002 s