com.atlassian.plugin.descriptors
Class TestAbstractModuleDescriptor
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.atlassian.plugin.descriptors.TestAbstractModuleDescriptor
- All Implemented Interfaces:
- junit.framework.Test
public class TestAbstractModuleDescriptor
- extends junit.framework.TestCase
| 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ANNOTATION_PERMISSION
public static final java.lang.String ANNOTATION_PERMISSION
- See Also:
- Constant Field Values
TestAbstractModuleDescriptor
public TestAbstractModuleDescriptor()
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()
testCheckPermissionsForModuleDescriptorAndPluginDefinedWithNoPermission
public void testCheckPermissionsForModuleDescriptorAndPluginDefinedWithNoPermission()
testCheckPermissionsForModuleDescriptorAndPluginWithSamePermission
public void testCheckPermissionsForModuleDescriptorAndPluginWithSamePermission()
testCheckPermissionsForModuleDescriptorWithPermissionsAndPluginWithAllPermission
public void testCheckPermissionsForModuleDescriptorWithPermissionsAndPluginWithAllPermission()
testCheckPermissionsForModuleDescriptorWithPermissionsNotInPluginPermissions
public void testCheckPermissionsForModuleDescriptorWithPermissionsNotInPluginPermissions()
testCheckPermissionsForModuleDescriptorWithPermissionsAllInPluginPermissions
public void testCheckPermissionsForModuleDescriptorWithPermissionsAllInPluginPermissions()
Copyright © 2012 Atlassian. All Rights Reserved.