public class TestDefaultPluginManagerWithCachingPluginAccessor extends TestDefaultPluginManager
DefaultPluginManager's plugin accessor methods work correctly when wrapped with
EnabledModuleCachingPluginAccessor.TestDefaultPluginManager.DisabledPluginCounter, TestDefaultPluginManager.MyModuleDisabledListener, TestDefaultPluginManager.PluginDisabledListener, TestDefaultPluginManager.PluginModuleDisabledListener, TestDefaultPluginManager.PluginModuleEnabledListener, TestDefaultPluginManager.RequiresRestartModuleDescriptor, TestDefaultPluginManager.RequiresRestartSubclassModuleDescriptorcapturedLogging, expectedException, manager, moduleDescriptorFactory, pluginEventManager, pluginStateStore, restoreSystemProperties| Constructor and Description |
|---|
TestDefaultPluginManagerWithCachingPluginAccessor() |
| Modifier and Type | Method and Description |
|---|---|
protected PluginAccessor |
getPluginAccessor()
Make base class tests use our caching plugin accessor
|
protected DefaultPluginManager |
newDefaultPluginManager(DefaultPluginManager.Builder builder)
Whenever the plugin manager is recreated, set up the plugin accessor used by the base class tests
to use the caching accessor
|
checkPluginInternal, checkPluginInternalNotSo, disableAllPluginsBySafeModeManagerShouldNotDisableRequiredPlugins, disableAllPluginsBySafeModeManagerShouldNotDisableSystemPlugins, disableAllPluginsBySafeModeShouldNotDisableApplicationPlugins, disableParticularPluginBySafeModeManagerShouldDisableAnyPlugin, disablePluginsBySafeModeManagerShouldNotAffectNewPlugins, disablePluginsBySafeModeShouldNotWorkInClusterEnvironment, getDynamicModules, setUp, tearDown, testCannotRemovePluginFromStaticLoader, testChangedSnapshotVersionIsLoaded, testDisabledPluginClearsModulesByClass, testDisableEnableOfPluginThatRequiresRestart, testDisablePluginModuleWithCannotDisableAnnotation, testDisablePluginModuleWithCannotDisableAnnotationInSuperclass, testDuplicatePluginKeysAreIgnored, testDuplicateSnapshotVersionsAreNotLoaded, testEnabledDisabledRetrieval, testEnabledModuleOutOfSyncWithPlugin, testEnableModuleFailed, testFindingNewPlugins, testFindingNewPluginsNotLoadingRestartRequiredDescriptors, testFindingUpgradePluginsNotLoadingRestartRequiredDescriptors, testGetEnabledPluginsDoesNotReturnEnablingPlugins, testGetModuleByModuleClassNoneFound, testGetModuleByModuleClassOneFound, testGetPluginAndModules, testGetPluginModuleDescriptorsWithModuleNotMatchingPredicate, testGetPluginModuleDescriptorWithModuleMatchingPredicate, testGetPluginModulesWith2GetModulesThrowingExceptionOnlyNotifiesOnce, testGetPluginModulesWithGetModuleThrowingException, testGetPluginModulesWithModuleMatchingPredicate, testGetPluginModulesWithModuleNotMatchingPredicate, testGetPluginsWithPluginMatchingPluginPredicate, testGetPluginsWithPluginNotMatchingPluginPredicate, testGetPluginWithNullKey, testInstallPluginMoreThanOnceStaysAsInstall, testInstallPluginThatPreviouslyRequiredRestart, testInstallPluginThatRequiresRestart, testInstallPluginThatRequiresRestartThenRevert, testInstallTwoPluginsButOneFailsToEnableAModuleAndThenFailsToDisableAModule, testInvalidationOfDynamicClassCache, testInvalidationOfDynamicResourceCache, testLoadChangedDynamicPluginWithSameVersionNumberDoesNotReplaceExisting, testLoadNewerDuplicateDynamicPluginPreservesModuleState, testLoadNewerDuplicateDynamicPluginPreservesPluginState, testLoadNewerDuplicatePlugin, testLoadOlderDuplicatePlugin, testLoadOlderDuplicatePluginDoesNotTryToEnableIt, testNonDeletablePlugins, testNonRemovablePlugins, testPluginContainerUnavailable, testPluginModuleAvailableAfterInstallation, testPluginModuleAvailableAfterInstallationButConfiguredToBeDisabled, testPluginModuleDisabledOnStartupUnavailableAfterInstallation, testPluginModuleUnavailableAfterInstallation, testRemovePluginThatRequiresRestart, testRemovePluginThatRequiresRestartThenReverted, testRemovePluginThatRequiresRestartViaSubclass, testRemovingPlugins, testRetrievePlugins, testUninstallPluginClearsModulesByClass, testUninstallPluginClearsState, testUpgradePluginThatPreviouslyRequiredRestart, testUpgradePluginThatRequiresRestart, testUpgradePluginThatRequiresRestartMultipleTimeStaysUpgraded, testUpgradePluginThatRequiresRestartThenReverted, testUpgradePluginThatRequiresRestartThenRevertedRevertsToOriginalPlugin, testValidatePlugin, testValidatePluginWithNoDynamicLoaderspublic TestDefaultPluginManagerWithCachingPluginAccessor()
protected DefaultPluginManager newDefaultPluginManager(DefaultPluginManager.Builder builder)
newDefaultPluginManager in class TestDefaultPluginManagerprotected PluginAccessor getPluginAccessor()
getPluginAccessor in class TestDefaultPluginManagerCopyright © 2019 Atlassian. All rights reserved.