org.apache.maven.plugins.shade.mojo
Class ShadeMojoTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by 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

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
ShadeMojoTest()
           
 
Method Summary
 void shaderWithPattern(String shadedPattern, File jar)
           
 void testShaderWithCustomShadedPattern()
           
 void testShaderWithDefaultShadedPattern()
           
 void testShaderWithExclusions()
           
 void testShadeWithFilter()
          Tests if a Filter is installed correctly, also if createSourcesJar is set to true.
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShadeMojoTest

public ShadeMojoTest()
Method Detail

testShaderWithDefaultShadedPattern

public void testShaderWithDefaultShadedPattern()
                                        throws Exception
Throws:
Exception

testShaderWithCustomShadedPattern

public void testShaderWithCustomShadedPattern()
                                       throws Exception
Throws:
Exception

testShaderWithExclusions

public void testShaderWithExclusions()
                              throws Exception
Throws:
Exception

testShadeWithFilter

public void testShadeWithFilter()
                         throws Exception
Tests if a Filter is installed correctly, also if createSourcesJar is set to true.

Throws:
Exception

shaderWithPattern

public void shaderWithPattern(String shadedPattern,
                              File jar)
                       throws Exception
Throws:
Exception


Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.