com.atlassian.plugin.manager
Class TestEnabledModuleCachingPluginAccessor
java.lang.Object
com.atlassian.plugin.manager.TestDefaultPluginManager
com.atlassian.plugin.manager.TestEnabledModuleCachingPluginAccessor
public class TestEnabledModuleCachingPluginAccessor
- extends TestDefaultPluginManager
| Methods inherited from class com.atlassian.plugin.manager.TestDefaultPluginManager |
createPluginWithVersion, delayedPluginsAreDelayed, earlyLateStartupEvents, oldPluginReturnedByLoadFoundPluginsIsDiscarded, pluginReturnedByLoadAllPluginsButNotUsedIsDiscarded, scanForNewPluginsNotAllowedUntilFullyStarted, 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 |
TestEnabledModuleCachingPluginAccessor
public TestEnabledModuleCachingPluginAccessor()
setUpMocks
public void setUpMocks()
throws Exception
- Throws:
Exception
newDefaultPluginManager
protected DefaultPluginManager newDefaultPluginManager(PluginLoader... pluginLoaders)
- Overrides:
newDefaultPluginManager in class TestDefaultPluginManager
getPluginAccessor
protected PluginAccessor getPluginAccessor()
- Overrides:
getPluginAccessor in class TestDefaultPluginManager
testDelegateShouldCalculateAtMostOnce
public void testDelegateShouldCalculateAtMostOnce()
testFlushCacheAfterAnyPluginDisable
public void testFlushCacheAfterAnyPluginDisable()
testChildAndParentClassBeingTrackedSeparately
public void testChildAndParentClassBeingTrackedSeparately()
Copyright © 2014 Atlassian. All rights reserved.