|
||||||||||
| 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.loaders.classloading.AbstractTestClassLoader
com.atlassian.plugin.loaders.TestDirectoryPluginLoader
public class TestDirectoryPluginLoader
| Field Summary | |
|---|---|
static String |
BAD_PLUGIN_JAR
|
| Fields inherited from class com.atlassian.plugin.loaders.classloading.AbstractTestClassLoader |
|---|
PADDINGTON_JAR, pluginsDirectory, pluginsTestDir, POOH_JAR |
| Constructor Summary | |
|---|---|
TestDirectoryPluginLoader()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
void |
tearDown()
|
void |
testAtlassianPlugin()
|
void |
testFoundPlugin()
|
void |
testInstallPluginTwice()
|
void |
testInvalidPluginHandled()
|
void |
testMixedFactories()
|
void |
testNoFoundPlugins()
|
void |
testPluginWithBadDescriptor()
|
void |
testPluginWithModuleDescriptorWithNoKey()
|
void |
testRemovePlugin()
|
void |
testSupportsAdditionAndRemoval()
|
void |
testUnknownPluginArtifact()
|
| Methods inherited from class com.atlassian.plugin.loaders.classloading.AbstractTestClassLoader |
|---|
createFillAndCleanTempPluginDirectory, getPluginsDirectory |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String BAD_PLUGIN_JAR
| Constructor Detail |
|---|
public TestDirectoryPluginLoader()
| Method Detail |
|---|
public void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
public void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseException
public void testAtlassianPlugin()
throws Exception
Exceptionpublic void testSupportsAdditionAndRemoval()
public void testNoFoundPlugins()
throws PluginParseException
PluginParseException
public void testFoundPlugin()
throws PluginParseException,
IOException
PluginParseException
IOException
public void testRemovePlugin()
throws PluginException,
IOException
PluginException
IOException
public void testInvalidPluginHandled()
throws IOException,
PluginParseException
IOException
PluginParseException
public void testInstallPluginTwice()
throws URISyntaxException,
IOException,
PluginParseException,
InterruptedException
URISyntaxException
IOException
PluginParseException
InterruptedException
public void testMixedFactories()
throws URISyntaxException,
IOException,
PluginParseException,
InterruptedException
URISyntaxException
IOException
PluginParseException
InterruptedException
public void testUnknownPluginArtifact()
throws URISyntaxException,
IOException,
PluginParseException,
InterruptedException
URISyntaxException
IOException
PluginParseException
InterruptedException
public void testPluginWithModuleDescriptorWithNoKey()
throws Exception,
IOException,
PluginParseException,
InterruptedException
Exception
IOException
PluginParseException
InterruptedException
public void testPluginWithBadDescriptor()
throws Exception,
IOException,
PluginParseException,
InterruptedException
Exception
IOException
PluginParseException
InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||