Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
65 0 0 0 100% 8.773 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% 8.773 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% 3.359 s
JaxbContextBuilderTest 8 0 0 0 100% 3.353 s
SchemaBuilderTest 11 0 0 0 100% 0.363 s
JaxbContextWrapperTest 13 0 0 0 100% 0.246 s
XmlDocumentBuilderTest 15 0 0 0 100% 0.288 s
JaxbUtilsTest 7 0 0 0 100% 0.444 s
XmlRuntimeExceptionTest 1 0 0 0 100% 0.003 s
JaxbRuntimeExceptionTest 1 0 0 0 100% 0.204 s
JaxbContextDataTest 6 0 0 0 100% 0.513 s

Test Cases

[Summary] [Package List] [Test Cases]

JaxbContextDetailsTest

empty(SoftAssertions) 3.136 s
withContextPaths(SoftAssertions) 0.164 s
withClasses(SoftAssertions) 0.021 s

JaxbContextBuilderTest

buildSchema(SoftAssertions) 0.669 s
writeAndReadDateTime(SoftAssertions) 0.346 s
buildUnmarshaller(SoftAssertions) 0.090 s
readAndWriteElement(SoftAssertions) 0.518 s
buildJaxbContext(SoftAssertions) 1.507 s
buildMarshaller(SoftAssertions) 0.077 s
writeAndReadDateTimeWithEmptyContext(SoftAssertions) 0.089 s
writeAndReadAnyElements 0.041 s

SchemaBuilderTest

buildSchemaWithLocation(SoftAssertions) 0.118 s
buildSchemaWithSource 0.005 s
buildSchemaWithIllegalStreamSource 0.014 s
fetchSchemaSourcesThatDoesNotExist 0.002 s
buildSchemaWithUrl 0.025 s
buildSchemaWithFile 0.006 s
buildSchemaWithNull(SoftAssertions) 0.005 s
createSchemaFactoryWthIllegalProperty 0.005 s
buildSchemaWithIllegalFile 0.003 s
fetchSchemaSources 0.141 s
buildSchemaWithIllegalUrl 0.020 s

JaxbContextWrapperTest

generateSchema 0.004 s
getValidationEventHandler(SoftAssertions) 0.003 s
useSchemaAndExpectValidationFails(SoftAssertions) 0.140 s
getDetails(SoftAssertions) 0.012 s
createJaxbIntrospector 0.002 s
getSchemaMode(SoftAssertions) 0.002 s
getAttachmentUnmarshaller(SoftAssertions) 0.002 s
useSchema(SoftAssertions) 0.028 s
isFormattedOutput(SoftAssertions) 0.003 s
getXmlAdapters(SoftAssertions) 0.002 s
getDetailsWithJaxbContextDataStream 0.015 s
createBinder 0.006 s
getAttachmentMarshaller(SoftAssertions) 0.002 s

XmlDocumentBuilderTest

buildDocumentFromIllegalUri 0.004 s
buildDocumentFromFile 0.005 s
createDocumentBuilder 0.048 s
buildDocumentFromUri 0.021 s
buildDocumentWithInputStream(SoftAssertions) 0.009 s
testWithoutNamespaces(SoftAssertions) 0.075 s
buildDocumentWithJaxbContext(SoftAssertions) 0.019 s
testWithNamespaces(SoftAssertions) 0.021 s
buildDocumentFromFileAndExpectException 0.003 s
buildDocument 0.002 s
buildDocumentWithMarshaller(SoftAssertions) 0.018 s
buildDocumentFromInputSource 0.002 s
testWithoutNamespacesAndExpectError 0.027 s
configureFactoryAttribute 0.001 s
buildDocumentFromIllegalFileAndExpectException(SoftAssertions) 0.007 s

JaxbUtilsTest

getNameSpaceOfType(SoftAssertions) 0.116 s
isJaxbModelPackage(SoftAssertions) 0.002 s
getSchemaLocation(SoftAssertions) 0.002 s
getNameSpaceOfElement(SoftAssertions) 0.002 s
getNameSpace(SoftAssertions) 0.001 s
isInJaxbModelPackage(SoftAssertions) 0.002 s
findJaxbClasses(SoftAssertions) 0.303 s

XmlRuntimeExceptionTest

testConstructors(SoftAssertions) 0.002 s

JaxbRuntimeExceptionTest

testConstructors(SoftAssertions) 0.202 s

JaxbContextDataTest

withIllegalPackage 0.004 s
withClassAsPackage(SoftAssertions) 0.006 s
withPackage(SoftAssertions) 0.477 s
withIllegalClass 0.003 s
withClass(SoftAssertions) 0.011 s
withIllegalClassAsPackage 0.002 s