org.apache.maven.plugins.shade
Class DefaultShaderTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.plugins.shade.DefaultShaderTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultShaderTest
extends junit.framework.TestCase

Author:
Jason van Zyl, Mauro Talevi

Constructor Summary
DefaultShaderTest()
           
 
Method Summary
 void shaderWithPattern(String shadedPattern, File jar, String[] excludes)
           
 void testShaderWithCustomShadedPattern()
           
 void testShaderWithDefaultShadedPattern()
           
 void testShaderWithoutExcludesShouldRemoveReferencesOfOriginalPattern()
           
 void testShaderWithStaticInitializedClass()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultShaderTest

public DefaultShaderTest()
Method Detail

testShaderWithDefaultShadedPattern

public void testShaderWithDefaultShadedPattern()
                                        throws Exception
Throws:
Exception

testShaderWithStaticInitializedClass

public void testShaderWithStaticInitializedClass()
                                          throws Exception
Throws:
Exception

testShaderWithCustomShadedPattern

public void testShaderWithCustomShadedPattern()
                                       throws Exception
Throws:
Exception

testShaderWithoutExcludesShouldRemoveReferencesOfOriginalPattern

public void testShaderWithoutExcludesShouldRemoveReferencesOfOriginalPattern()
                                                                      throws Exception
Throws:
Exception

shaderWithPattern

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


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.