com.atlassian.plugin.osgi.factory.transform
Class TestDefaultPluginTransformer

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.osgi.factory.transform.TestDefaultPluginTransformer
All Implemented Interfaces:
junit.framework.Test

public class TestDefaultPluginTransformer
extends junit.framework.TestCase


Constructor Summary
TestDefaultPluginTransformer()
           
 
Method Summary
 void compressionOptionYieldsCompressedTransformedJar(int level)
           
 void notTestTransformWithBeanConflictBetweenComponentAndHostComponent()
           
 void notTestTransformWithBeanConflictBetweenComponentAndImportComponent()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAddFilesToZip()
           
 void testBestSizeCompressionYieldsCompressedTransformedJar()
           
 void testBestSpeedCompressionYieldsCompressedTransformedJar()
           
 void testDefaultTransformedJarIsNotCompressed()
           
 void testGenerateCacheName()
           
 void testImportManifestGenerationOnInterfaces()
           
 void testTransform()
           
 void testTransformComponentMustNotPerformKeyConversion()
           
 void testTransformHostComponentMustNotPerformKeyConversion()
           
 void testTransformImportMustNotPerformKeyConversion()
           
 
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

TestDefaultPluginTransformer

public TestDefaultPluginTransformer()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testAddFilesToZip

public void testAddFilesToZip()
                       throws URISyntaxException,
                              IOException
Throws:
URISyntaxException
IOException

testTransform

public void testTransform()
                   throws Exception
Throws:
Exception

notTestTransformWithBeanConflictBetweenComponentAndHostComponent

public void notTestTransformWithBeanConflictBetweenComponentAndHostComponent()
                                                                      throws Exception
Throws:
Exception

notTestTransformWithBeanConflictBetweenComponentAndImportComponent

public void notTestTransformWithBeanConflictBetweenComponentAndImportComponent()
                                                                        throws Exception
Throws:
Exception

testImportManifestGenerationOnInterfaces

public void testImportManifestGenerationOnInterfaces()
                                              throws Exception
Throws:
Exception

testGenerateCacheName

public void testGenerateCacheName()
                           throws IOException
Throws:
IOException

testTransformComponentMustNotPerformKeyConversion

public void testTransformComponentMustNotPerformKeyConversion()
                                                       throws Exception
Throws:
Exception

testTransformImportMustNotPerformKeyConversion

public void testTransformImportMustNotPerformKeyConversion()
                                                    throws Exception
Throws:
Exception

testTransformHostComponentMustNotPerformKeyConversion

public void testTransformHostComponentMustNotPerformKeyConversion()
                                                           throws Exception
Throws:
Exception

testDefaultTransformedJarIsNotCompressed

public void testDefaultTransformedJarIsNotCompressed()
                                              throws Exception
Throws:
Exception

testBestSpeedCompressionYieldsCompressedTransformedJar

public void testBestSpeedCompressionYieldsCompressedTransformedJar()
                                                            throws Exception
Throws:
Exception

testBestSizeCompressionYieldsCompressedTransformedJar

public void testBestSizeCompressionYieldsCompressedTransformedJar()
                                                           throws Exception
Throws:
Exception

compressionOptionYieldsCompressedTransformedJar

public void compressionOptionYieldsCompressedTransformedJar(int level)
                                                     throws Exception
Throws:
Exception


Copyright © 2014 Atlassian. All rights reserved.