|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.plugin.classloader.TestPluginClassLoader
public class TestPluginClassLoader
To make this test pass in your IDE, make sure you run Maven to build the necessary plugins and copy them to the target directory ('mvn package') and when running the tests, set the 'project.version' system property to the current version in the POM. E.g. -Dproject.version=2.1.0-SNAPSHOT
| Constructor Summary | |
|---|---|
TestPluginClassLoader()
|
|
| 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 |
|---|
public TestPluginClassLoader()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
protected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exception
public void testPluginClassLoaderFindsInnerJars()
throws java.lang.Exception
java.lang.Exception
public void testPluginClassLoaderLoadsResourceFromOuterJarFirst()
throws java.lang.Exception
java.lang.Exception
public void testPluginClassLoaderLoadsClassFromOuterJar()
throws java.lang.Exception
java.lang.Exception
public void testPluginClassLoaderHandlesDeletedExctractedInnerJars()
throws java.lang.Exception
java.lang.Exception
public void testPluginClassLoaderExtractsInnerJarsToSpecifiedDirectory()
throws java.lang.Exception
java.lang.Exception
public void testPluginClassLoaderDetectsMissingTempDirectory()
throws java.lang.Exception
java.lang.Exception
public void testPluginClassLoaderLoadsResourceFromInnerJarIfNotInOuterJar()
throws java.lang.Exception
java.lang.Exception
public void testPluginClassLoaderDoesNotSwallowClassesFromADifferentClassLoader()
throws java.lang.Exception
java.lang.Exception
public void testPluginClassLoaderOverridesContainerClassesWithInnerJarClasses()
throws java.lang.Exception
java.lang.Exception
public void testPluginClassLoaderDoesNotLockTheJarsPermanently()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||