|
||||||||||
| 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 |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, format |
| 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 Exception
setUp in class junit.framework.TestCaseException
protected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseException
public void testPluginClassLoaderFindsInnerJars()
throws Exception
Exception
public void testPluginClassLoaderLoadsResourceFromOuterJarFirst()
throws Exception
Exception
public void testPluginClassLoaderLoadsClassFromOuterJar()
throws Exception
Exception
public void testPluginClassLoaderHandlesDeletedExctractedInnerJars()
throws Exception
Exception
public void testPluginClassLoaderExtractsInnerJarsToSpecifiedDirectory()
throws Exception
Exception
public void testPluginClassLoaderDetectsMissingTempDirectory()
throws Exception
Exception
public void testPluginClassLoaderLoadsResourceFromInnerJarIfNotInOuterJar()
throws Exception
Exception
public void testPluginClassLoaderDoesNotSwallowClassesFromADifferentClassLoader()
throws Exception
Exception
public void testPluginClassLoaderOverridesContainerClassesWithInnerJarClasses()
throws Exception
Exception
public void testPluginClassLoaderDoesNotLockTheJarsPermanently()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||