com.atlassian.plugin.osgi.container.felix
Class TestExportsBuilder

java.lang.Object
  extended by com.atlassian.plugin.osgi.container.felix.TestExportsBuilder

public class TestExportsBuilder
extends Object


Field Summary
 org.junit.rules.ExpectedException expectedException
           
 org.junit.contrib.java.lang.system.RestoreSystemProperties restoreSystemProperties
           
 
Constructor Summary
TestExportsBuilder()
           
 
Method Summary
 void defaultGenerateExportsFindsStandardLog4j()
           
 void generateExportsFailsWhenFallbackAndNoServletContext()
           
 void generateExportsFailsWhenFallbackServletContextScanningFails()
           
 void generateExportsFallsThroughToServletContextScanning()
           
 void productSuppliedServletVersionIsRespected()
           
 void setUp()
           
 void tearDown()
           
 void testConstructJdkExportsWithJdk6And7()
           
 void testDetermineExports()
           
 void testDetermineExportsIncludeServiceInterfaces()
           
 void testDetermineExportWhileConflictExists()
           
 void testGenerateExportsWithCorrectServletVersion()
           
 void testJarWithImplicitDirectories()
           
 void testLegacyScanMode()
           
 void testPackagesNotConsidedInPluginsItself()
           
 void testPackagesUnderPluginFrameworkExportedAsPluginFrameworkVersion()
           
 void testPrecalculatedPackages()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expectedException

public org.junit.rules.ExpectedException expectedException

restoreSystemProperties

public org.junit.contrib.java.lang.system.RestoreSystemProperties restoreSystemProperties
Constructor Detail

TestExportsBuilder

public TestExportsBuilder()
Method Detail

setUp

public void setUp()

tearDown

public void tearDown()

testDetermineExports

public void testDetermineExports()

testDetermineExportsIncludeServiceInterfaces

public void testDetermineExportsIncludeServiceInterfaces()

testConstructJdkExportsWithJdk6And7

public void testConstructJdkExportsWithJdk6And7()

testDetermineExportWhileConflictExists

public void testDetermineExportWhileConflictExists()

testPrecalculatedPackages

public void testPrecalculatedPackages()

testPackagesUnderPluginFrameworkExportedAsPluginFrameworkVersion

public void testPackagesUnderPluginFrameworkExportedAsPluginFrameworkVersion()

defaultGenerateExportsFindsStandardLog4j

public void defaultGenerateExportsFindsStandardLog4j()
                                              throws Exception
Throws:
Exception

generateExportsFallsThroughToServletContextScanning

public void generateExportsFallsThroughToServletContextScanning()
                                                         throws Exception
Throws:
Exception

generateExportsFailsWhenFallbackServletContextScanningFails

public void generateExportsFailsWhenFallbackServletContextScanningFails()
                                                                 throws Exception
Throws:
Exception

generateExportsFailsWhenFallbackAndNoServletContext

public void generateExportsFailsWhenFallbackAndNoServletContext()

testGenerateExportsWithCorrectServletVersion

public void testGenerateExportsWithCorrectServletVersion()
                                                  throws Exception
Throws:
Exception

testPackagesNotConsidedInPluginsItself

public void testPackagesNotConsidedInPluginsItself()

testJarWithImplicitDirectories

public void testJarWithImplicitDirectories()
                                    throws Exception
Throws:
Exception

testLegacyScanMode

public void testLegacyScanMode()
                        throws Exception
Throws:
Exception

productSuppliedServletVersionIsRespected

public void productSuppliedServletVersionIsRespected()
                                              throws Exception
Throws:
Exception


Copyright © 2015 Atlassian. All rights reserved.