com.atlassian.plugin.descriptors
Class TestAbstractModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.TestAbstractModuleDescriptor

public class TestAbstractModuleDescriptor
extends java.lang.Object


Field Summary
static java.lang.String ANNOTATION_PERMISSION
           
 
Constructor Summary
TestAbstractModuleDescriptor()
           
 
Method Summary
 void testAssertModuleClassImplements()
           
 void testCheckPermissionsForModuleDescriptorAndPluginDefinedWithNoPermission()
           
 void testCheckPermissionsForModuleDescriptorAndPluginWithSamePermission()
           
 void testCheckPermissionsForModuleDescriptorWithPermissionsAllInPluginPermissions()
           
 void testCheckPermissionsForModuleDescriptorWithPermissionsAndPluginWithAllPermission()
           
 void testCheckPermissionsForModuleDescriptorWithPermissionsNotInPluginPermissions()
           
 void testDestroy()
           
 void testDestroyDelegatesToDeprecatedOverride()
           
 void testDestroyWhenDisabled()
           
 void testGetModuleReturnClass()
           
 void testGetModuleReturnClassWithExtendsNumber()
           
 void testGetResourceDescriptor()
           
 void testGetResourceDescriptorByType()
           
 void testLoadClassFromNewModuleFactory()
           
 void testLoadClassFromNewModuleFactoryButUnknownType()
           
 void testLoadClassFromNewModuleFactoryWithExtendsNothingType()
           
 void testLoadClassFromNewModuleFactoryWithExtendsNumberType()
           
 void testSingletonness()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANNOTATION_PERMISSION

public static final java.lang.String ANNOTATION_PERMISSION
See Also:
Constant Field Values
Constructor Detail

TestAbstractModuleDescriptor

public TestAbstractModuleDescriptor()
Method Detail

testAssertModuleClassImplements

public void testAssertModuleClassImplements()
                                     throws org.dom4j.DocumentException,
                                            com.atlassian.plugin.PluginParseException
Throws:
org.dom4j.DocumentException
com.atlassian.plugin.PluginParseException

testLoadClassFromNewModuleFactory

public void testLoadClassFromNewModuleFactory()

testLoadClassFromNewModuleFactoryWithExtendsNumberType

public void testLoadClassFromNewModuleFactoryWithExtendsNumberType()

testLoadClassFromNewModuleFactoryWithExtendsNothingType

public void testLoadClassFromNewModuleFactoryWithExtendsNothingType()

testGetModuleReturnClass

public void testGetModuleReturnClass()

testGetModuleReturnClassWithExtendsNumber

public void testGetModuleReturnClassWithExtendsNumber()

testLoadClassFromNewModuleFactoryButUnknownType

public void testLoadClassFromNewModuleFactoryButUnknownType()

testSingletonness

public void testSingletonness()
                       throws org.dom4j.DocumentException,
                              com.atlassian.plugin.PluginParseException
Throws:
org.dom4j.DocumentException
com.atlassian.plugin.PluginParseException

testGetResourceDescriptor

public void testGetResourceDescriptor()
                               throws org.dom4j.DocumentException,
                                      com.atlassian.plugin.PluginParseException
Throws:
org.dom4j.DocumentException
com.atlassian.plugin.PluginParseException

testGetResourceDescriptorByType

public void testGetResourceDescriptorByType()
                                     throws org.dom4j.DocumentException,
                                            com.atlassian.plugin.PluginParseException
Throws:
org.dom4j.DocumentException
com.atlassian.plugin.PluginParseException

testDestroy

public void testDestroy()

testDestroyWhenDisabled

public void testDestroyWhenDisabled()

testDestroyDelegatesToDeprecatedOverride

public void testDestroyDelegatesToDeprecatedOverride()

testCheckPermissionsForModuleDescriptorAndPluginDefinedWithNoPermission

public void testCheckPermissionsForModuleDescriptorAndPluginDefinedWithNoPermission()

testCheckPermissionsForModuleDescriptorAndPluginWithSamePermission

public void testCheckPermissionsForModuleDescriptorAndPluginWithSamePermission()

testCheckPermissionsForModuleDescriptorWithPermissionsAndPluginWithAllPermission

public void testCheckPermissionsForModuleDescriptorWithPermissionsAndPluginWithAllPermission()

testCheckPermissionsForModuleDescriptorWithPermissionsNotInPluginPermissions

public void testCheckPermissionsForModuleDescriptorWithPermissionsNotInPluginPermissions()

testCheckPermissionsForModuleDescriptorWithPermissionsAllInPluginPermissions

public void testCheckPermissionsForModuleDescriptorWithPermissionsAllInPluginPermissions()


Copyright © 2013 Atlassian. All Rights Reserved.