com.atlassian.plugin.loaders
Class TestSinglePluginLoader

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.loaders.TestSinglePluginLoader
All Implemented Interfaces:
junit.framework.Test

public class TestSinglePluginLoader
extends junit.framework.TestCase


Constructor Summary
TestSinglePluginLoader()
           
 
Method Summary
 void enableModules(Plugin plugin)
           
 void testAtlassianPlugin()
           
 void testBadPluginKey()
           
 void testBadResource()
           
 void testDisabledPlugin()
           
 void testNonUniqueKeysWithinAPlugin()
           
 void testPluginByInputStream()
          Deprecated. testing deprecated behaviour
 void testPluginByInputStreamNotReentrant()
          Deprecated. testing deprecated behaviour
 void testPluginByUrl()
           
 void testPluginsInOrder()
           
 void testPluginWithOnlyPermittedModules()
           
 void testPluginWithOnlyPermittedModulesAndMissingModuleDescriptor()
           
 void testRejectOsgiPlugin()
           
 void testSinglePluginLoader()
           
 void testUnknownPluginModule()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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
 

Constructor Detail

TestSinglePluginLoader

public TestSinglePluginLoader()
Method Detail

testSinglePluginLoader

public void testSinglePluginLoader()
                            throws Exception
Throws:
Exception

testRejectOsgiPlugin

public void testRejectOsgiPlugin()
                          throws Exception
Throws:
Exception

testAtlassianPlugin

public void testAtlassianPlugin()
                         throws Exception
Throws:
Exception

testDisabledPlugin

public void testDisabledPlugin()
                        throws PluginParseException
Throws:
PluginParseException

testPluginByUrl

public void testPluginByUrl()
                     throws PluginParseException
Throws:
PluginParseException

testPluginByInputStream

@Deprecated
public void testPluginByInputStream()
                             throws PluginParseException
Deprecated. testing deprecated behaviour

Throws:
PluginParseException

testPluginByInputStreamNotReentrant

@Deprecated
public void testPluginByInputStreamNotReentrant()
                                         throws PluginParseException
Deprecated. testing deprecated behaviour

Throws:
PluginParseException

testPluginsInOrder

public void testPluginsInOrder()
                        throws PluginParseException
Throws:
PluginParseException

testUnknownPluginModule

public void testUnknownPluginModule()
                             throws PluginParseException
Throws:
PluginParseException

testPluginWithOnlyPermittedModules

public void testPluginWithOnlyPermittedModules()
                                        throws PluginParseException
Throws:
PluginParseException

testPluginWithOnlyPermittedModulesAndMissingModuleDescriptor

public void testPluginWithOnlyPermittedModulesAndMissingModuleDescriptor()
                                                                  throws PluginParseException
Throws:
PluginParseException

testBadPluginKey

public void testBadPluginKey()
                      throws PluginParseException
Throws:
PluginParseException

testNonUniqueKeysWithinAPlugin

public void testNonUniqueKeysWithinAPlugin()
                                    throws PluginParseException
Throws:
PluginParseException

testBadResource

public void testBadResource()

enableModules

public void enableModules(Plugin plugin)


Copyright © 2011 Atlassian. All Rights Reserved.