com.atlassian.plugin.loaders
Class TestDirectoryPluginLoader
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.atlassian.plugin.loaders.classloading.AbstractTestClassLoader
com.atlassian.plugin.loaders.TestDirectoryPluginLoader
- All Implemented Interfaces:
- junit.framework.Test
public class TestDirectoryPluginLoader
- extends AbstractTestClassLoader
| 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 |
BAD_PLUGIN_JAR
public static final String BAD_PLUGIN_JAR
- See Also:
- Constant Field Values
TestDirectoryPluginLoader
public TestDirectoryPluginLoader()
setUp
public void setUp()
throws Exception
- Overrides:
setUp in class junit.framework.TestCase
- Throws:
Exception
tearDown
public void tearDown()
throws Exception
- Overrides:
tearDown in class junit.framework.TestCase
- Throws:
Exception
testAtlassianPlugin
public void testAtlassianPlugin()
throws Exception
- Throws:
Exception
testSupportsAdditionAndRemoval
public void testSupportsAdditionAndRemoval()
testNoFoundPlugins
public void testNoFoundPlugins()
throws com.atlassian.plugin.PluginParseException
- Throws:
com.atlassian.plugin.PluginParseException
testFoundPlugin
public void testFoundPlugin()
throws com.atlassian.plugin.PluginParseException,
IOException
- Throws:
com.atlassian.plugin.PluginParseException
IOException
testRemovePlugin
public void testRemovePlugin()
throws com.atlassian.plugin.PluginException,
IOException
- Throws:
com.atlassian.plugin.PluginException
IOException
testInvalidPluginHandled
public void testInvalidPluginHandled()
throws IOException,
com.atlassian.plugin.PluginParseException
- Throws:
IOException
com.atlassian.plugin.PluginParseException
testInstallPluginTwice
public void testInstallPluginTwice()
throws URISyntaxException,
IOException,
com.atlassian.plugin.PluginParseException,
InterruptedException
- Throws:
URISyntaxException
IOException
com.atlassian.plugin.PluginParseException
InterruptedException
testMixedFactories
public void testMixedFactories()
throws URISyntaxException,
IOException,
com.atlassian.plugin.PluginParseException,
InterruptedException
- Throws:
URISyntaxException
IOException
com.atlassian.plugin.PluginParseException
InterruptedException
testUnknownPluginArtifact
public void testUnknownPluginArtifact()
throws URISyntaxException,
IOException,
com.atlassian.plugin.PluginParseException,
InterruptedException
- Throws:
URISyntaxException
IOException
com.atlassian.plugin.PluginParseException
InterruptedException
testPluginWithModuleDescriptorWithNoKey
public void testPluginWithModuleDescriptorWithNoKey()
throws Exception,
IOException,
com.atlassian.plugin.PluginParseException,
InterruptedException
- Throws:
Exception
IOException
com.atlassian.plugin.PluginParseException
InterruptedException
testPluginWithBadDescriptor
public void testPluginWithBadDescriptor()
throws Exception,
IOException,
com.atlassian.plugin.PluginParseException,
InterruptedException
- Throws:
Exception
IOException
com.atlassian.plugin.PluginParseException
InterruptedException
Copyright © 2011 Atlassian. All Rights Reserved.