public class TestEnabledModuleCachingPluginAccessor extends TestDefaultPluginManager
| Modifier and Type | Class and Description |
|---|---|
class |
TestEnabledModuleCachingPluginAccessor.DummyChildDescriptor |
class |
TestEnabledModuleCachingPluginAccessor.DummyParentDescriptor |
TestDefaultPluginManager.DisabledPluginCounter, TestDefaultPluginManager.MyModuleDisabledListener, TestDefaultPluginManager.PluginDisabledListener, TestDefaultPluginManager.PluginModuleDisabledListener, TestDefaultPluginManager.PluginModuleEnabledListener, TestDefaultPluginManager.RequiresRestartModuleDescriptor, TestDefaultPluginManager.RequiresRestartSubclassModuleDescriptor, TestDefaultPluginManager.ThingsAreWrongListenerexpectedException, manager, pluginEventManager| Constructor and Description |
|---|
TestEnabledModuleCachingPluginAccessor() |
| Modifier and Type | Method and Description |
|---|---|
protected PluginAccessor |
getPluginAccessor() |
protected DefaultPluginManager |
newDefaultPluginManager(PluginLoader... pluginLoaders) |
void |
setUpMocks() |
void |
testChildAndParentClassBeingTrackedSeparately() |
void |
testDelegateShouldCalculateAtMostOnce() |
void |
testFlushCacheAfterAnyPluginDisable() |
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, testValidatePluginWithNoDynamicLoaderspublic TestEnabledModuleCachingPluginAccessor()
protected DefaultPluginManager newDefaultPluginManager(PluginLoader... pluginLoaders)
newDefaultPluginManager in class TestDefaultPluginManagerprotected PluginAccessor getPluginAccessor()
getPluginAccessor in class TestDefaultPluginManagerpublic void testDelegateShouldCalculateAtMostOnce()
public void testFlushCacheAfterAnyPluginDisable()
public void testChildAndParentClassBeingTrackedSeparately()
Copyright © 2014 Atlassian. All rights reserved.