Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
65 0 0 0 100% 6.861 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% 6.861 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.517 s
JaxbContextBuilderTest 8 0 0 0 100% 2.806 s
SchemaBuilderTest 11 0 0 0 100% 0.281 s
JaxbContextWrapperTest 13 0 0 0 100% 0.249 s
XmlDocumentBuilderTest 15 0 0 0 100% 0.271 s
JaxbUtilsTest 7 0 0 0 100% 0.360 s
XmlRuntimeExceptionTest 1 0 0 0 100% 0.007 s
JaxbRuntimeExceptionTest 1 0 0 0 100% 0.155 s
JaxbContextDataTest 6 0 0 0 100% 0.215 s

Test Cases

[Summary] [Package List] [Test Cases]

JaxbContextDetailsTest

empty(SoftAssertions) 2.332 s
withContextPaths(SoftAssertions) 0.140 s
withClasses(SoftAssertions) 0.017 s

JaxbContextBuilderTest

buildSchema(SoftAssertions) 0.668 s
writeAndReadDateTime(SoftAssertions) 0.374 s
buildUnmarshaller(SoftAssertions) 0.069 s
readAndWriteElement(SoftAssertions) 0.461 s
buildJaxbContext(SoftAssertions) 1.055 s
buildMarshaller(SoftAssertions) 0.073 s
writeAndReadDateTimeWithEmptyContext(SoftAssertions) 0.069 s
writeAndReadAnyElements 0.023 s

SchemaBuilderTest

buildSchemaWithLocation(SoftAssertions) 0.088 s
buildSchemaWithSource 0.003 s
buildSchemaWithIllegalStreamSource 0.007 s
fetchSchemaSourcesThatDoesNotExist 0.002 s
buildSchemaWithUrl 0.020 s
buildSchemaWithFile 0.003 s
buildSchemaWithNull(SoftAssertions) 0.002 s
createSchemaFactoryWthIllegalProperty 0.005 s
buildSchemaWithIllegalFile 0.002 s
fetchSchemaSources 0.126 s
buildSchemaWithIllegalUrl 0.009 s

JaxbContextWrapperTest

generateSchema 0.003 s
getValidationEventHandler(SoftAssertions) 0.001 s
useSchemaAndExpectValidationFails(SoftAssertions) 0.168 s
getDetails(SoftAssertions) 0.006 s
createJaxbIntrospector 0.001 s
getSchemaMode(SoftAssertions) 0.001 s
getAttachmentUnmarshaller(SoftAssertions) 0.002 s
useSchema(SoftAssertions) 0.030 s
isFormattedOutput(SoftAssertions) 0.001 s
getXmlAdapters(SoftAssertions) 0.002 s
getDetailsWithJaxbContextDataStream 0.007 s
createBinder 0.003 s
getAttachmentMarshaller(SoftAssertions) 0.002 s

XmlDocumentBuilderTest

buildDocumentFromIllegalUri 0.006 s
buildDocumentFromFile 0.003 s
createDocumentBuilder 0.047 s
buildDocumentFromUri 0.032 s
buildDocumentWithInputStream(SoftAssertions) 0.013 s
testWithoutNamespaces(SoftAssertions) 0.060 s
buildDocumentWithJaxbContext(SoftAssertions) 0.014 s
testWithNamespaces(SoftAssertions) 0.018 s
buildDocumentFromFileAndExpectException 0.002 s
buildDocument 0.001 s
buildDocumentWithMarshaller(SoftAssertions) 0.014 s
buildDocumentFromInputSource 0.002 s
testWithoutNamespacesAndExpectError 0.024 s
configureFactoryAttribute 0.002 s
buildDocumentFromIllegalFileAndExpectException(SoftAssertions) 0.007 s

JaxbUtilsTest

getNameSpaceOfType(SoftAssertions) 0.097 s
isJaxbModelPackage(SoftAssertions) 0.001 s
getSchemaLocation(SoftAssertions) 0.001 s
getNameSpaceOfElement(SoftAssertions) 0.002 s
getNameSpace(SoftAssertions) 0.001 s
isInJaxbModelPackage(SoftAssertions) 0.002 s
findJaxbClasses(SoftAssertions) 0.250 s

XmlRuntimeExceptionTest

testConstructors(SoftAssertions) 0.004 s

JaxbRuntimeExceptionTest

testConstructors(SoftAssertions) 0.153 s

JaxbContextDataTest

withIllegalPackage 0.002 s
withClassAsPackage(SoftAssertions) 0.004 s
withPackage(SoftAssertions) 0.189 s
withIllegalClass 0.002 s
withClass(SoftAssertions) 0.010 s
withIllegalClassAsPackage 0.001 s