Class ShadeMojoTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.codehaus.plexus.PlexusTestCase
-
- org.apache.maven.plugins.shade.mojo.ShadeMojoTest
-
- All Implemented Interfaces:
junit.framework.Test
public class ShadeMojoTest extends org.codehaus.plexus.PlexusTestCase- Author:
- Jason van Zyl, Mauro Talevi
-
-
Constructor Summary
Constructors Constructor Description ShadeMojoTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcustomizeContainerConfiguration(org.codehaus.plexus.ContainerConfiguration configuration)voidshaderWithPattern(java.lang.String shadedPattern, java.io.File jar)voidtestManifestTransformerSelection()voidtestShaderWithCustomShadedPattern()voidtestShaderWithDefaultShadedPattern()voidtestShaderWithExclusions()voidtestShadeWithFilter()Tests if a Filter is installed correctly, also if createSourcesJar is set to true.-
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setUp, setupContainer, tearDown, teardownContainer
-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Method Detail
-
customizeContainerConfiguration
protected void customizeContainerConfiguration(org.codehaus.plexus.ContainerConfiguration configuration)
- Overrides:
customizeContainerConfigurationin classorg.codehaus.plexus.PlexusTestCase
-
testManifestTransformerSelection
public void testManifestTransformerSelection() throws java.lang.Exception- Throws:
java.lang.Exception
-
testShaderWithDefaultShadedPattern
public void testShaderWithDefaultShadedPattern() throws java.lang.Exception- Throws:
java.lang.Exception
-
testShaderWithCustomShadedPattern
public void testShaderWithCustomShadedPattern() throws java.lang.Exception- Throws:
java.lang.Exception
-
testShaderWithExclusions
public void testShaderWithExclusions() throws java.lang.Exception- Throws:
java.lang.Exception
-
testShadeWithFilter
public void testShadeWithFilter() throws java.lang.ExceptionTests if a Filter is installed correctly, also if createSourcesJar is set to true.- Throws:
java.lang.Exception
-
shaderWithPattern
public void shaderWithPattern(java.lang.String shadedPattern, java.io.File jar) throws java.lang.Exception- Throws:
java.lang.Exception
-
-