Package org.apache.maven.plugins.shade
Class DefaultShaderTest
- java.lang.Object
-
- org.apache.maven.plugins.shade.DefaultShaderTest
-
public class DefaultShaderTest extends java.lang.Object
- Author:
- Jason van Zyl, Mauro Talevi
-
-
Constructor Summary
Constructors Constructor Description DefaultShaderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testNoopWhenNotRelocated()
void
testOverlappingResourcesAreLogged()
void
testOverlappingResourcesAreLoggedExceptATransformerHandlesIt()
void
testShaderWithCustomShadedPattern()
void
testShaderWithDefaultShadedPattern()
void
testShaderWithNestedJar()
void
testShaderWithoutExcludesShouldRemoveReferencesOfOriginalPattern()
void
testShaderWithRelocatedClassname()
void
testShaderWithStaticInitializedClass()
-
-
-
Method Detail
-
testNoopWhenNotRelocated
public void testNoopWhenNotRelocated() throws java.io.IOException, MojoExecutionException
- Throws:
java.io.IOException
MojoExecutionException
-
testOverlappingResourcesAreLogged
public void testOverlappingResourcesAreLogged() throws java.io.IOException, MojoExecutionException
- Throws:
java.io.IOException
MojoExecutionException
-
testOverlappingResourcesAreLoggedExceptATransformerHandlesIt
public void testOverlappingResourcesAreLoggedExceptATransformerHandlesIt() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testShaderWithDefaultShadedPattern
public void testShaderWithDefaultShadedPattern() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testShaderWithStaticInitializedClass
public void testShaderWithStaticInitializedClass() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testShaderWithCustomShadedPattern
public void testShaderWithCustomShadedPattern() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testShaderWithoutExcludesShouldRemoveReferencesOfOriginalPattern
public void testShaderWithoutExcludesShouldRemoveReferencesOfOriginalPattern() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testShaderWithRelocatedClassname
public void testShaderWithRelocatedClassname() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testShaderWithNestedJar
public void testShaderWithNestedJar() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-