Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.601
org.apache.maven.plugins.shade.resource.properties 6 0 0 0 100% 0.021
org.apache.maven.plugins.shade.filter 5 0 0 1 80% 0.159
org.apache.maven.plugins.shade.resource 22 0 0 0 100% 0.118
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.547

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.601

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

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

org.apache.maven.plugins.shade.filter

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

org.apache.maven.plugins.shade.resource

Class Tests Errors Failures Skipped Success Rate Time
GroovyResourceTransformerTest 4 0 0 0 100% 0.006
ApacheNoticeResourceTransformerTest 1 0 0 0 100% 0
AppendingTransformerTest 1 0 0 0 100% 0.001
ResourceBundleAppendingTransformerTest 1 0 0 0 100% 0.032
ApacheNoticeResourceTransformerParameterTests 7 0 0 0 100% 0.01
ComponentsXmlResourceTransformerTest 1 0 0 0 100% 0.045
ManifestResourceTransformerTest 2 0 0 0 100% 0.003
XmlAppendingTransformerTest 1 0 0 0 100% 0
ApacheLicenseResourceTransformerTest 1 0 0 0 100% 0
ServiceResourceTransformerTest 3 0 0 0 100% 0.021

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.001
ArtifactSelectorTest 1 0 0 0 100% 0.001
ShadeMojoTest 4 0 0 0 100% 0.545

Test Cases

[Summary] [Package List] [Test Cases]

GroovyResourceTransformerTest

testEmpty 0.001
testSpecifyModuleName 0.001
testFilter 0
testConcatenation 0.001

MinijarFilterTest

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

SimpleFilterTest

testIsFiltered 0.004

ApacheNoticeResourceTransformerTest

testCanTransformResource 0

DefaultShaderTest

testShaderWithCustomShadedPattern 0.286
testShaderWithoutExcludesShouldRemoveReferencesOfOriginalPattern 0.082
testShaderWithStaticInitializedClass 0.003
testShaderWithDefaultShadedPattern 0.134
testOverlappingResourcesAreLogged 0.031
testShaderWithRelocatedClassname 0.064

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.003

PropertiesTransformerTest

mergeWithoutOverlap 0.015
mergeWithAlreadyMerged 0.001
propertiesRewritingIsStable 0.001
alreadyMergeConflict 0
canTransform 0.001
mergeWithOverlap 0.001

ArtifactIdTest

testIdParsing 0
testMatches 0

RelativizePathTest

runTests 0

ApacheNoticeResourceTransformerParameterTests

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

ComponentsXmlResourceTransformerTest

testConfigurationMerging 0.045

ArtifactSelectorTest

testIsSelected 0

ManifestResourceTransformerTest

rewriteAdditionalAttributes 0
rewriteDefaultAttributes 0.001

ShadeMojoTest

testShaderWithCustomShadedPattern 0.334
testShaderWithDefaultShadedPattern 0.149
testShadeWithFilter 0.041
testShaderWithExclusions 0.021

SimpleRelocatorParameterTest

testThatNullShadedPatternInConstructorShouldNotThrowNullPointerException 0
testThatNullPatternInConstructorShouldNotThrowNullPointerException 0.001

XmlAppendingTransformerTest

testCanTransformResource 0

ApacheLicenseResourceTransformerTest

testCanTransformResource 0

ServiceResourceTransformerTest

concatanationAppliedMultipleTimes 0.016
concatenation 0.001
relocatedClasses 0.002

Failure Details

[Summary] [Package List] [Test Cases]


testWithMockProject
skipped: Expected to run under JDK8+