Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.985
org.apache.maven.plugins.shade.filter 5 0 0 1 80% 0.225
org.apache.maven.plugins.shade.resource 19 0 0 0 100% 0.146
org.apache.maven.plugins.shade.relocation 12 0 0 0 100% 0.003
org.apache.maven.plugins.shade.mojo 8 0 0 0 100% 0.822

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

org.apache.maven.plugins.shade.filter

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

org.apache.maven.plugins.shade.resource

Class Tests Errors Failures Skipped Success Rate Time
ApacheLicenseResourceTransformerTest 1 0 0 0 100% 0.001
ApacheNoticeResourceTransformerParameterTests 7 0 0 0 100% 0.02
ApacheNoticeResourceTransformerTest 1 0 0 0 100% 0.001
AppendingTransformerTest 1 0 0 0 100% 0
ComponentsXmlResourceTransformerTest 1 0 0 0 100% 0.089
GroovyResourceTransformerTest 4 0 0 0 100% 0.013
ResourceBundleAppendingTransformerTest 1 0 0 0 100% 0
ServiceResourceTransformerTest 2 0 0 0 100% 0.022
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
SimpleRelocatorTest 10 0 0 0 100% 0.003

org.apache.maven.plugins.shade.mojo

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

Test Cases

[Summary] [Package List] [Test Cases]

DefaultShaderTest

testShaderWithCustomShadedPattern 0.482
testShaderWithoutExcludesShouldRemoveReferencesOfOriginalPattern 0.172
testShaderWithStaticInitializedClass 0.007
testShaderWithDefaultShadedPattern 0.191
testShaderWithRelocatedClassname 0.104

MinijarFilterTest

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

SimpleFilterTest

testIsFiltered 0

ArtifactIdTest

testIdParsing 0.001
testMatches 0.001

ArtifactSelectorTest

testIsSelected 0

RelativizePathTest

runTests 0

ShadeMojoTest

testShaderWithCustomShadedPattern 0.489
testShaderWithDefaultShadedPattern 0.209
testShadeWithFilter 0.085
testShaderWithExclusions 0.034

SimpleRelocatorParameterTest

testThatNullShadedPatternInConstructorShouldNotThrowNullPointerException 0
testThatNullPatternInConstructorShouldNotThrowNullPointerException 0

SimpleRelocatorTest

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

ApacheLicenseResourceTransformerTest

testCanTransformResource 0.001

ApacheNoticeResourceTransformerParameterTests

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

ApacheNoticeResourceTransformerTest

testCanTransformResource 0

AppendingTransformerTest

testCanTransformResource 0

ComponentsXmlResourceTransformerTest

testConfigurationMerging 0.088

GroovyResourceTransformerTest

testEmpty 0.002
testSpecifyModuleName 0.008
testFilter 0
testConcatenation 0.003

ResourceBundleAppendingTransformerTest

testCanTransformResource 0

ServiceResourceTransformerTest

concatenation 0.022
relocatedClasses 0

XmlAppendingTransformerTest

testCanTransformResource 0

Failure Details

[Summary] [Package List] [Test Cases]


testWithMockProject
skipped: Expected to run under JDK8+