Class 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 void customizeContainerConfiguration​(org.codehaus.plexus.ContainerConfiguration configuration)  
      void shaderWithPattern​(java.lang.String shadedPattern, java.io.File jar)  
      void testManifestTransformerSelection()  
      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

        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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ShadeMojoTest

        public ShadeMojoTest()
    • Method Detail

      • customizeContainerConfiguration

        protected void customizeContainerConfiguration​(org.codehaus.plexus.ContainerConfiguration configuration)
        Overrides:
        customizeContainerConfiguration in class org.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.Exception
        Tests 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