Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
49 0 0 1 97.959% 1.783

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 5 0 0 0 100% 0.721
org.apache.maven.plugins.shade.filter 5 0 0 1 80% 0.075
org.apache.maven.plugins.shade.resource 19 0 0 0 100% 0.059
org.apache.maven.plugins.shade.relocation 12 0 0 0 100% 0.034
org.apache.maven.plugins.shade.mojo 8 0 0 0 100% 0.894

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 5 0 0 0 100% 0.721

org.apache.maven.plugins.shade.filter

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

org.apache.maven.plugins.shade.resource

Class Tests Errors Failures Skipped Success Rate Time
ApacheNoticeResourceTransformerParameterTests 7 0 0 0 100% 0.003
GroovyResourceTransformerTest 4 0 0 0 100% 0.009
ApacheLicenseResourceTransformerTest 1 0 0 0 100% 0
ServiceResourceTransformerTest 2 0 0 0 100% 0
AppendingTransformerTest 1 0 0 0 100% 0.001
ResourceBundleAppendingTransformerTest 1 0 0 0 100% 0
ApacheNoticeResourceTransformerTest 1 0 0 0 100% 0.001
ComponentsXmlResourceTransformerTest 1 0 0 0 100% 0.045
XmlAppendingTransformerTest 1 0 0 0 100% 0

org.apache.maven.plugins.shade.relocation

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

org.apache.maven.plugins.shade.mojo

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

Test Cases

[Summary] [Package List] [Test Cases]

ApacheNoticeResourceTransformerParameterTests

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

GroovyResourceTransformerTest

testEmpty 0
testSpecifyModuleName 0.007
testFilter 0
testConcatenation 0.002

MinijarFilterTest

testWithPomProject 0.066
finsishedShouldProduceMessageForClassesTotalNonZero 0.001
testWithMockProject 0
Expected to run under JDK8+
finsishedShouldProduceMessageForClassesTotalZero 0.001

ArtifactSelectorTest

testIsSelected 0

DefaultShaderTest

testShaderWithCustomShadedPattern 0.364
testShaderWithoutExcludesShouldRemoveReferencesOfOriginalPattern 0.114
testShaderWithStaticInitializedClass 0.006
testShaderWithDefaultShadedPattern 0.156
testShaderWithRelocatedClassname 0.079

ArtifactIdTest

testIdParsing 0
testMatches 0

ApacheLicenseResourceTransformerTest

testCanTransformResource 0

SimpleRelocatorParameterTest

testThatNullShadedPatternInConstructorShouldNotThrowNullPointerException 0
testThatNullPatternInConstructorShouldNotThrowNullPointerException 0

SimpleFilterTest

testIsFiltered 0

ServiceResourceTransformerTest

concatenation 0
relocatedClasses 0

AppendingTransformerTest

testCanTransformResource 0

ShadeMojoTest

testShaderWithCustomShadedPattern 0.469
testShaderWithDefaultShadedPattern 0.151
testShadeWithFilter 0.201
testShaderWithExclusions 0.043

ResourceBundleAppendingTransformerTest

testCanTransformResource 0

RelativizePathTest

runTests 0.002

SimpleRelocatorTest

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

ApacheNoticeResourceTransformerTest

testCanTransformResource 0

ComponentsXmlResourceTransformerTest

testConfigurationMerging 0.045

XmlAppendingTransformerTest

testCanTransformResource 0

Failure Details

[Summary] [Package List] [Test Cases]


testWithMockProject
skipped: Expected to run under JDK8+