com.atlassian.plugin.loaders
Class TestDirectoryPluginLoader

java.lang.Object
  extended by com.atlassian.plugin.loaders.TestDirectoryPluginLoader

public class TestDirectoryPluginLoader
extends Object


Constructor Summary
TestDirectoryPluginLoader()
           
 
Method Summary
 void createFillAndCleanTempPluginDirectory()
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestDirectoryPluginLoader

public TestDirectoryPluginLoader()
Method Detail

createFillAndCleanTempPluginDirectory

public void createFillAndCleanTempPluginDirectory()
                                           throws IOException
Throws:
IOException

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

testAtlassianPlugin

public void testAtlassianPlugin()
                         throws Exception
Throws:
Exception

testSupportsAdditionAndRemoval

public void testSupportsAdditionAndRemoval()

testNoFoundPlugins

public void testNoFoundPlugins()
                        throws PluginParseException
Throws:
PluginParseException

testFoundPlugin

public void testFoundPlugin()
                     throws PluginParseException,
                            IOException
Throws:
PluginParseException
IOException

testRemovePlugin

public void testRemovePlugin()
                      throws PluginException,
                             IOException
Throws:
PluginException
IOException

testInvalidPluginHandled

public void testInvalidPluginHandled()
                              throws IOException,
                                     PluginParseException
Throws:
IOException
PluginParseException

testInstallPluginTwice

public void testInstallPluginTwice()
                            throws URISyntaxException,
                                   IOException,
                                   PluginParseException,
                                   InterruptedException
Throws:
URISyntaxException
IOException
PluginParseException
InterruptedException

testMixedFactories

public void testMixedFactories()
                        throws URISyntaxException,
                               IOException,
                               PluginParseException,
                               InterruptedException
Throws:
URISyntaxException
IOException
PluginParseException
InterruptedException

testUnknownPluginArtifact

public void testUnknownPluginArtifact()
                               throws URISyntaxException,
                                      IOException,
                                      PluginParseException,
                                      InterruptedException
Throws:
URISyntaxException
IOException
PluginParseException
InterruptedException

testPluginWithModuleDescriptorWithNoKey

public void testPluginWithModuleDescriptorWithNoKey()
                                             throws Exception,
                                                    IOException,
                                                    PluginParseException,
                                                    InterruptedException
Throws:
Exception
IOException
PluginParseException
InterruptedException

testPluginWithBadDescriptor

public void testPluginWithBadDescriptor()
                                 throws Exception,
                                        IOException,
                                        PluginParseException,
                                        InterruptedException
Throws:
Exception
IOException
PluginParseException
InterruptedException


Copyright © 2014 Atlassian. All rights reserved.