com.atlassian.plugin.manager
Class TestEnabledModuleCachingPluginAccessor

java.lang.Object
  extended by com.atlassian.plugin.manager.TestDefaultPluginManager
      extended by com.atlassian.plugin.manager.TestEnabledModuleCachingPluginAccessor

public class TestEnabledModuleCachingPluginAccessor
extends TestDefaultPluginManager


Nested Class Summary
 class TestEnabledModuleCachingPluginAccessor.DummyChildDescriptor
           
 class TestEnabledModuleCachingPluginAccessor.DummyParentDescriptor
           
 
Nested classes/interfaces inherited from class com.atlassian.plugin.manager.TestDefaultPluginManager
TestDefaultPluginManager.DisabledPluginCounter, TestDefaultPluginManager.MyModuleDisabledListener, TestDefaultPluginManager.PluginDisabledListener, TestDefaultPluginManager.PluginModuleDisabledListener, TestDefaultPluginManager.PluginModuleEnabledListener, TestDefaultPluginManager.RequiresRestartModuleDescriptor, TestDefaultPluginManager.RequiresRestartSubclassModuleDescriptor, TestDefaultPluginManager.ThingsAreWrongListener
 
Field Summary
 
Fields inherited from class com.atlassian.plugin.manager.TestDefaultPluginManager
manager, pluginEventManager
 
Constructor Summary
TestEnabledModuleCachingPluginAccessor()
           
 
Method Summary
protected  com.atlassian.plugin.PluginAccessor getPluginAccessor()
           
protected  com.atlassian.plugin.manager.DefaultPluginManager newDefaultPluginManager(com.atlassian.plugin.loaders.PluginLoader... pluginLoaders)
           
 void setUpMocks()
           
 void testChildAndParentClassBeingTrackedSeparately()
           
 void testDelegateShouldCalculateAtMostOnce()
           
 void testFlushCacheAfterAnyPluginDisable()
           
 
Methods inherited from class com.atlassian.plugin.manager.TestDefaultPluginManager
createPluginWithVersion, oldPluginReturnedByLoadFoundPluginsIsDiscarded, pluginReturnedByLoadAllPluginsButNotUsedIsDiscarded, setUp, tearDown, testAddPluginsThatThrowExceptionOnEnabled, testCannotInitTwice, testCannotRemovePluginFromStaticLoader, testCannotShutdownTwice, testChangedSnapshotVersionIsLoaded, testCircularDependencyWouldNotCauseInfiniteLoop, testComparePluginBadPlugin, testComparePluginEqual, testComparePluginNewer, testComparePluginNoVersion, testComparePluginOlder, testDisableEnableOfPluginThatRequiresRestart, testDisablePluginModuleWithCannotDisableAnnotation, testDisablePluginModuleWithCannotDisableAnnotationInSuperclass, testDuplicatePluginKeysAreIgnored, testDuplicateSnapshotVersionsAreNotLoaded, testEnabledDisabledRetrieval, testEnabledModuleOutOfSyncWithPlugin, testEnableModuleFailed, testExceptionOnRequiredPluginNotEnabling, testFindingNewPlugins, testFindingNewPluginsNotLoadingRestartRequiredDescriptors, testFindingUpgradePluginsNotLoadingRestartRequiredDescriptors, testGetDynamicPluginClass, testGetEnabledPluginsDoesNotReturnEnablingPlugins, testGetModuleByModuleClassAndDescriptor, testGetModuleByModuleClassNoneFound, testGetModuleByModuleClassOneFound, testGetModuleDescriptorsByType, testGetPluginAndModules, testGetPluginModuleDescriptorsWithModuleNotMatchingPredicate, testGetPluginModuleDescriptorWithModuleMatchingPredicate, testGetPluginModulesWith2GetModulesThrowingExceptionOnlyNotifiesOnce, testGetPluginModulesWithGetModuleThrowingException, testGetPluginModulesWithModuleMatchingPredicate, testGetPluginModulesWithModuleNotMatchingPredicate, testGetPluginsWithPluginMatchingPluginPredicate, testGetPluginsWithPluginNotMatchingPluginPredicate, testGetPluginWithNullKey, testInstallPlugin, testInstallPluginMoreThanOnceStaysAsInstall, testInstallPluginsWithOne, testInstallPluginsWithTwo, testInstallPluginsWithTwoButOneFailsValidation, testInstallPluginsWithTwoButOneFailsValidationWithException, testInstallPluginThatPreviouslyRequiredRestart, testInstallPluginThatRequiresRestart, testInstallPluginThatRequiresRestartThenRevert, testInstallTwoPluginsButOneFailsToEnableAModuleAndThenFailsToDisableAModule, testInvalidationOfDynamicClassCache, testInvalidationOfDynamicResourceCache, testLoadChangedDynamicPluginWithSameVersionNumberDoesNotReplaceExisting, testLoadNewerDuplicateDynamicPluginPreservesModuleState, testLoadNewerDuplicateDynamicPluginPreservesPluginState, testLoadNewerDuplicatePlugin, testLoadOlderDuplicatePlugin, testLoadOlderDuplicatePluginDoesNotTryToEnableIt, testNonDeletablePlugins, testNonRemovablePlugins, testPluginContainerUnavailable, testPluginModuleAvailableAfterInstallation, testPluginModuleAvailableAfterInstallationButConfiguredToBeDisabled, testPluginModuleUnavailableAfterInstallation, testRemovePluginThatRequiresRestart, testRemovePluginThatRequiresRestartThenReverted, testRemovePluginThatRequiresRestartViaSubclass, testRemovingPlugins, testRetrievePlugins, testRetrievingDynamicResources, testShutdownHandlesException, testThreeCycleDependencyWouldNotCauseInfiniteLoop, testUninstallPluginClearsState, testUninstallPluginWithDependencies, testUninstallPluginWithMultiLevelDependencies, testUpgradePluginThatPreviouslyRequiredRestart, testUpgradePluginThatRequiresRestart, testUpgradePluginThatRequiresRestartMultipleTimeStaysUpgraded, testUpgradePluginThatRequiresRestartThenReverted, testUpgradePluginThatRequiresRestartThenRevertedRevertsToOriginalPlugin, testValidatePlugin, testValidatePluginWithNoDynamicLoaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestEnabledModuleCachingPluginAccessor

public TestEnabledModuleCachingPluginAccessor()
Method Detail

setUpMocks

public void setUpMocks()
                throws java.lang.Exception
Throws:
java.lang.Exception

newDefaultPluginManager

protected com.atlassian.plugin.manager.DefaultPluginManager newDefaultPluginManager(com.atlassian.plugin.loaders.PluginLoader... pluginLoaders)
Overrides:
newDefaultPluginManager in class TestDefaultPluginManager

getPluginAccessor

protected com.atlassian.plugin.PluginAccessor getPluginAccessor()
Overrides:
getPluginAccessor in class TestDefaultPluginManager

testDelegateShouldCalculateAtMostOnce

public void testDelegateShouldCalculateAtMostOnce()

testFlushCacheAfterAnyPluginDisable

public void testFlushCacheAfterAnyPluginDisable()

testChildAndParentClassBeingTrackedSeparately

public void testChildAndParentClassBeingTrackedSeparately()


Copyright © 2013 Atlassian. All Rights Reserved.