Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
59 0 0 1 98.305% 1.129

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.apache.maven.plugins.shade 6 0 0 0 100% 0.445
org.apache.maven.plugins.shade.resource.properties 6 0 0 0 100% 0.023
org.apache.maven.plugins.shade.filter 5 0 0 1 80% 0.104
org.apache.maven.plugins.shade.resource 22 0 0 0 100% 0.106
org.apache.maven.plugins.shade.relocation 12 0 0 0 100% 0.001
org.apache.maven.plugins.shade.mojo 8 0 0 0 100% 0.45

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

org.apache.maven.plugins.shade

Class Tests Errors Failures Skipped Success Rate Time
DefaultShaderTest 6 0 0 0 100% 0.445

org.apache.maven.plugins.shade.resource.properties

Class Tests Errors Failures Skipped Success Rate Time
PropertiesTransformerTest 6 0 0 0 100% 0.023

org.apache.maven.plugins.shade.filter

Class Tests Errors Failures Skipped Success Rate Time
MinijarFilterTest 4 0 0 1 75% 0.103
SimpleFilterTest 1 0 0 0 100% 0.001

org.apache.maven.plugins.shade.resource

Class Tests Errors Failures Skipped Success Rate Time
GroovyResourceTransformerTest 4 0 0 0 100% 0.004
ApacheNoticeResourceTransformerTest 1 0 0 0 100% 0.001
AppendingTransformerTest 1 0 0 0 100% 0
ResourceBundleAppendingTransformerTest 1 0 0 0 100% 0.027
ApacheNoticeResourceTransformerParameterTests 7 0 0 0 100% 0.008
ComponentsXmlResourceTransformerTest 1 0 0 0 100% 0.043
ManifestResourceTransformerTest 2 0 0 0 100% 0.003
XmlAppendingTransformerTest 1 0 0 0 100% 0
ApacheLicenseResourceTransformerTest 1 0 0 0 100% 0.001
ServiceResourceTransformerTest 3 0 0 0 100% 0.019

org.apache.maven.plugins.shade.relocation

Class Tests Errors Failures Skipped Success Rate Time
SimpleRelocatorTest 10 0 0 0 100% 0
SimpleRelocatorParameterTest 2 0 0 0 100% 0.001

org.apache.maven.plugins.shade.mojo

Class Tests Errors Failures Skipped Success Rate Time
ArtifactIdTest 2 0 0 0 100% 0
RelativizePathTest 1 0 0 0 100% 0
ArtifactSelectorTest 1 0 0 0 100% 0
ShadeMojoTest 4 0 0 0 100% 0.45

Test Cases

[Summary] [Package List] [Test Cases]

GroovyResourceTransformerTest

testEmpty 0
testSpecifyModuleName 0.002
testFilter 0
testConcatenation 0.002

MinijarFilterTest

testWithPomProject 0.098
finsishedShouldProduceMessageForClassesTotalNonZero 0
finishedShouldProduceMessageForClassesTotalZero 0.001
testWithMockProject 0
Expected to run under JDK8+

SimpleFilterTest

testIsFiltered 0.001

ApacheNoticeResourceTransformerTest

testCanTransformResource 0

DefaultShaderTest

testShaderWithCustomShadedPattern 0.216
testShaderWithoutExcludesShouldRemoveReferencesOfOriginalPattern 0.065
testShaderWithStaticInitializedClass 0.002
testShaderWithDefaultShadedPattern 0.086
testOverlappingResourcesAreLogged 0.018
testShaderWithRelocatedClassname 0.057

AppendingTransformerTest

testCanTransformResource 0

SimpleRelocatorTest

testCanRelocateClass 0
testCanRelocateAbsClassPathWithIncludes 0
testRelocatePath 0
testRelocateClass 0
testRelocateMavenFiles 0
testCanRelocateAbsClassPath 0
testCanRelocateAbsClassPathWithExcludes 0
testRelocateRawString 0
testCanRelocateRawString 0
testCanRelocatePath 0

ResourceBundleAppendingTransformerTest

testCanTransformResource 0.002

PropertiesTransformerTest

mergeWithoutOverlap 0.013
mergeWithAlreadyMerged 0
propertiesRewritingIsStable 0
alreadyMergeConflict 0
canTransform 0
mergeWithOverlap 0

ArtifactIdTest

testIdParsing 0
testMatches 0

RelativizePathTest

runTests 0

ApacheNoticeResourceTransformerParameterTests

testNoParametersShouldNotThrowNullPointerWhenLineIsSlashSlash 0.003
testNoParametersShouldNotThrowNullPointerWhenOneLineOfInput 0
testNoParametersShouldNotThrowNullPointerWhenLineIsEmpty 0
testNoParametersShouldNotThrowNullPointerWhenLineStartsWithSlashSlash 0.001
testNoParametersShouldNotThrowNullPointerWhenNoInput 0
testNoParametersShouldNotThrowNullPointerWhenTwoLinesOfInput 0
testNoParametersShouldNotThrowNullPointerWhenNoLinesOfInput 0.001

ComponentsXmlResourceTransformerTest

testConfigurationMerging 0.042

ArtifactSelectorTest

testIsSelected 0

ManifestResourceTransformerTest

rewriteAdditionalAttributes 0
rewriteDefaultAttributes 0.003

ShadeMojoTest

testShaderWithCustomShadedPattern 0.281
testShaderWithDefaultShadedPattern 0.12
testShadeWithFilter 0.032
testShaderWithExclusions 0.017

SimpleRelocatorParameterTest

testThatNullShadedPatternInConstructorShouldNotThrowNullPointerException 0
testThatNullPatternInConstructorShouldNotThrowNullPointerException 0

XmlAppendingTransformerTest

testCanTransformResource 0

ApacheLicenseResourceTransformerTest

testCanTransformResource 0

ServiceResourceTransformerTest

concatanationAppliedMultipleTimes 0.015
concatenation 0.001
relocatedClasses 0.001

Failure Details

[Summary] [Package List] [Test Cases]


testWithMockProject
skipped: Expected to run under JDK8+