Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
86 10 1 0 87.209% 6.279

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.codehaus.mojo.jaxb2.shared.version 4 0 0 0 100% 0.009
org.codehaus.mojo.jaxb2.shared.environment.locale 3 0 0 0 100% 0.001
org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement 11 0 0 0 100% 0.02
org.codehaus.mojo.jaxb2.shared.arguments 6 0 0 0 100% 0.001
org.codehaus.mojo.jaxb2.shared.filters 8 0 0 0 100% 0.026
org.codehaus.mojo.jaxb2.shared 20 0 0 0 100% 0.033
org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.enums 1 0 0 0 100% 0.638
org.codehaus.mojo.jaxb2.shared.filters.pattern 11 0 0 0 100% 0.006
org.codehaus.mojo.jaxb2.schemageneration.postprocessing 10 10 0 0 0% 0.012
org.codehaus.mojo.jaxb2.shared.classloader 3 0 1 0 66.667% 0.006
org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc 9 0 0 0 100% 5.527

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

org.codehaus.mojo.jaxb2.shared.version

Class Tests Errors Failures Skipped Success Rate Time
DependencyFileParserTest 4 0 0 0 100% 0.009

org.codehaus.mojo.jaxb2.shared.environment.locale

Class Tests Errors Failures Skipped Success Rate Time
LocaleFacetTest 3 0 0 0 100% 0.001

org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement

Class Tests Errors Failures Skipped Success Rate Time
ChangeFilenameProcessorTest 1 0 0 0 100% 0.003
ChangeNamespacePrefixProcessorTest 1 0 0 0 100% 0.003
SimpleNamespaceResolverTest 6 0 0 0 100% 0.013
TransformSchemaTest 3 0 0 0 100% 0.001

org.codehaus.mojo.jaxb2.shared.arguments

Class Tests Errors Failures Skipped Success Rate Time
ArgumentBuilderTest 6 0 0 0 100% 0.001

org.codehaus.mojo.jaxb2.shared.filters

Class Tests Errors Failures Skipped Success Rate Time
FiltersTest 3 0 0 0 100% 0.003
PackageFilterInclusionTest 2 0 0 0 100% 0.022
T_AbstractFilterTest 3 0 0 0 100% 0.001

org.codehaus.mojo.jaxb2.shared

Class Tests Errors Failures Skipped Success Rate Time
FileSystemUtilitiesTest 16 0 0 0 100% 0.032
ValidateTest 4 0 0 0 100% 0.001

org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.enums

Class Tests Errors Failures Skipped Success Rate Time
XsdAnnotationProcessorAndEnumsTest 1 0 0 0 100% 0.638

org.codehaus.mojo.jaxb2.shared.filters.pattern

Class Tests Errors Failures Skipped Success Rate Time
PatternFileFilterTest 5 0 0 0 100% 0.003
PatternURLFilterTest 3 0 0 0 100% 0.002
T_AbstractPatternFilterTest 3 0 0 0 100% 0.001

org.codehaus.mojo.jaxb2.schemageneration.postprocessing

Class Tests Errors Failures Skipped Success Rate Time
XsdGeneratorHelperTest 10 10 0 0 0% 0.012

org.codehaus.mojo.jaxb2.shared.classloader

Class Tests Errors Failures Skipped Success Rate Time
ThreadContextClassLoaderBuilderTest 3 0 1 0 66.667% 0.006

org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc

Class Tests Errors Failures Skipped Success Rate Time
DomHelperTest 1 0 0 0 100% 5.351
FieldLocationTest 1 0 0 0 100% 0.002
JavaDocExtractorTest 5 0 0 0 100% 0.055
XsdAnnotationProcessorSemiDocumentedTest 1 0 0 0 100% 0.069
XsdAnnotationProcessorTest 1 0 0 0 100% 0.05

Test Cases

[Summary] [Package List] [Test Cases]

DomHelperTest

validateDomHelperAccessors 5.295

XsdAnnotationProcessorAndEnumsTest

validateGeneratedXmlForEnums 0.635

FieldLocationTest

validateFieldLocationWithXmlName 0.002

JavaDocExtractorTest

validatePathsFromProcessing 0.003
validateExtractEnumJavaDocs 0.025
validateLogStatementsDuringProcessing 0.003
validateJavaDocDataFromProcessing 0.004
validateExtractingXmlAnnotatedName 0.02

XsdAnnotationProcessorSemiDocumentedTest

validateProcessingNodesInVanillaXSD 0.069

XsdAnnotationProcessorTest

validateProcessingNodesInVanillaXSD 0.05

ChangeFilenameProcessorTest

validateAcceptCriteria 0.003

ChangeNamespacePrefixProcessorTest

validateAcceptCriteria 0.003

SimpleNamespaceResolverTest

validateExceptionOnEmptyRelativePathToXmlFile 0.005
validateCollectingSchemaInfoForSingleNamespaceSchemaFile 0.002
validateCollectingSchemaInfoForMultipleNamespaceSchemaFile 0.002
validateJaxbNamespaceResolverComplianceInThrowingExceptionOnNullNamespaceResolverArguments 0.001
validateExceptionOnNonexistentXmlSchemaFile 0
validatePrefixesIterator 0.002

TransformSchemaTest

validateExceptionOnEmptyUriArgument 0.001
validateExceptionOnEmptyToFileArgument 0
validateExceptionOnEmptyToPrefixArgument 0

XsdGeneratorHelperTest

validateExceptionThrownOnDuplicateURIs 0.004
validateExceptionThrownOnNullUri 0
Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateProcessingNodes 0
Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateExceptionThrownOnDuplicatePrefixes 0
Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateNoExceptionThrownOnDuplicateNullPrefixes 0.001
Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateExceptionThrownOnOnlyUriGiven 0
Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateExceptionThrownOnDuplicateFiles 0
Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateAcquiringFilenameToResolverMap 0.001
Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateProcessingXSDsWithEnumerations 0
Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateExceptionThrownOnEmptyUri 0
Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest

ArgumentBuilderTest

validateArgumentOrder 0
validateExceptionOnAddingNullFlag 0.001
validateExceptionOnAddingNullNamedArgument 0
validateExceptionOnAddingFlagContainingWhitespace 0
validateExceptionOnAddingAllWhitespaceFlag 0
validateMixedArguments 0

ThreadContextClassLoaderBuilderTest

validateLoadingResourcesInJars 0.003
validateAddingURLsToThreadContextClassLoader 0.002
Snippet [target/classes] was not found within URL resources.
validateResourceAccessInAugmentedClassLoader 0.001

LocaleFacetTest

validateExceptionOnIncorrectLocaleString 0.001
validateLocaleParsing 0
validateNoExceptionOnUnknownLocaleString 0

FileSystemUtilitiesTest

validateGettingFileForClassURL 0.001
validateCanonicalFileAndPath 0
validateGettingFileForJar 0.001
validateFilteringFiles 0.008
validateExceptionOnGettingExistingFileWithRelativePathAndNullBasedir 0
validateResolveRecursively 0.004
validateFilterFilesWithSuppliedSourcesAndExcludePatterns 0.001
validateFilteredDirectoryListingUsingExcludeFilters 0.002
validateGettingFileForClassResourceURL 0
validateGettingUrlForFile 0.001
validateFilteredDirectoryListingUsingIncludeFilters 0.001
validateBufferingLog 0
validateSimplifiedFileExistenceRetrieval 0
validateResolvingFilesAndRemovingExclusions 0.009
validateUrlEncodingAndDecoding 0
validateExceptionOnNullFileListWhenResolvingFilesAndRemovingExclusions 0

FiltersTest

validateNoMatches 0.001
validateMatchAtLeastOnce 0.001
validateRejectIfMatchedAtLeastOnce 0.001

PackageFilterInclusionTest

validateIncludingSubTrees 0.007
validateExcludingPackageInfoFiles 0.015

PatternFileFilterTest

validateAcceptAllOnNullPatternsForExcludeOperation 0.001
validateExcludingNoFilesOnNonMatchingPattern 0
validateAcceptNothingOnNullPatterns 0
validateExcludingMatchingFiles 0.001
validatePatternMatchExclusion 0

PatternURLFilterTest

validateExcludingMatchingURLs 0.001
validateExceptionOnNotInitializingFilterBeforeUse 0.001
validateAcceptNothingOnNullPatterns 0

T_AbstractPatternFilterTest

validateExceptionOnNullStringConverter 0.001
validateNoAcceptedResultsWhenProcessingMessagesOnNullFilters 0
validateAcceptingFilterMessages 0

T_AbstractFilterTest

validateExceptionOnNotInitializingFilterBeforeFirstCall 0
validateCallOrderIfNotProcessingNulls 0
validateCallOrderIfProcessingNulls 0.001

ValidateTest

validateErrorMessageOnNullArgumentWithNullName 0
validateErrorMessageOnNullArgument 0
validateErrorMessageOnSuppliedArgumentName 0
validateErrorMessageOnNullArgumentName 0

DependencyFileParserTest

validateParsingDependencyInformationPackagedInJarFileInClassPath 0.002
validateCreatingDependencyInformationMapFromDependencyPropertiesFile 0.003
validateExceptionOnAttemptingToParseIncorrectlyFormedPropertiesFile 0.001
validateParsingDependencyPropertiesFile 0.002

Failure Details

[Summary] [Package List] [Test Cases]


validateExceptionThrownOnDuplicateURIs
java.lang.ExceptionInInitializerError
validateExceptionThrownOnNullUri
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateProcessingNodes
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateExceptionThrownOnDuplicatePrefixes
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateNoExceptionThrownOnDuplicateNullPrefixes
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateExceptionThrownOnOnlyUriGiven
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateExceptionThrownOnDuplicateFiles
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateAcquiringFilenameToResolverMap
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateProcessingXSDsWithEnumerations
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateExceptionThrownOnEmptyUri
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.XsdGeneratorHelperTest
validateAddingURLsToThreadContextClassLoader
java.lang.AssertionError: Snippet [target/classes] was not found within URL resources.