public class TestDefaultPluginManagerWithProductPluginAccessor extends TestDefaultPluginManager
TestDefaultPluginManager.DisabledPluginCounter, TestDefaultPluginManager.MyModuleDisabledListener, TestDefaultPluginManager.PluginDisabledListener, TestDefaultPluginManager.PluginModuleDisabledListener, TestDefaultPluginManager.PluginModuleEnabledListener, TestDefaultPluginManager.RequiresRestartModuleDescriptor, TestDefaultPluginManager.RequiresRestartSubclassModuleDescriptor| Modifier and Type | Field and Description |
|---|---|
com.atlassian.plugin.manager.TestDefaultPluginManagerWithProductPluginAccessor.PluginAccessorSupplier |
pluginAccessorSupplier |
String |
testName |
capturedLogging, expectedException, manager, moduleDescriptorFactory, pluginEventManager, pluginStateStore, restoreSystemProperties| Constructor and Description |
|---|
TestDefaultPluginManagerWithProductPluginAccessor() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<Object[]> |
data() |
protected PluginAccessor |
getPluginAccessor()
Make base class tests use our product 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
product 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 String testName
public com.atlassian.plugin.manager.TestDefaultPluginManagerWithProductPluginAccessor.PluginAccessorSupplier pluginAccessorSupplier
public TestDefaultPluginManagerWithProductPluginAccessor()
public static Collection<Object[]> data()
protected DefaultPluginManager newDefaultPluginManager(DefaultPluginManager.Builder builder)
newDefaultPluginManager in class TestDefaultPluginManagerprotected PluginAccessor getPluginAccessor()
getPluginAccessor in class TestDefaultPluginManagerCopyright © 2019 Atlassian. All rights reserved.