public class TestDefaultPluginManagerLifecycle extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestDefaultPluginManagerLifecycle.ThingsAreWrongListener |
| Modifier and Type | Field and Description |
|---|---|
CapturedLogging |
capturedLogging |
org.junit.rules.ExpectedException |
expectedException |
org.junit.contrib.java.lang.system.RestoreSystemProperties |
restoreSystemProperties |
| Constructor and Description |
|---|
TestDefaultPluginManagerLifecycle() |
| Modifier and Type | Method and Description |
|---|---|
void |
delayedPluginsAreDelayed() |
void |
delayedPluginsCanBeDisabled() |
void |
delayedPluginsCanBeEnabled() |
void |
earlyLateStartupEvents() |
void |
earlyStartupDoesNotSavePluginPersistentState() |
void |
exampleUsingPersistentStateDelegation() |
void |
lateStartupDoesntRetryEnableWhenNotRequested() |
void |
lateStartupDoesRetryEnableWhenRequested() |
void |
lateStartupRemovesPluginsMarkedForRemoval() |
void |
minimumPluginVersionIsEnforced() |
void |
scanForNewPluginsDuringLateStartup() |
void |
scanForNewPluginsNotAllowedBeforeLateStartup() |
void |
setUp() |
void |
startupElementInPluginInformationOverridesDelayPredicate() |
void |
startupOverrideFileOverridesPluginInformationAndDelayPredicate() |
void |
tearDown() |
void |
testCannotInitTwice() |
void |
testCannotShutdownTwice() |
void |
testExceptionOnRequiredPluginNotEnabling() |
void |
testShutdownHandlesException() |
public final CapturedLogging capturedLogging
public final org.junit.rules.ExpectedException expectedException
public final org.junit.contrib.java.lang.system.RestoreSystemProperties restoreSystemProperties
public void tearDown()
public void delayedPluginsCanBeDisabled()
public void delayedPluginsCanBeEnabled()
public void scanForNewPluginsNotAllowedBeforeLateStartup()
public void scanForNewPluginsDuringLateStartup()
public void earlyStartupDoesNotSavePluginPersistentState()
public void lateStartupRemovesPluginsMarkedForRemoval()
public void exampleUsingPersistentStateDelegation()
public void lateStartupDoesntRetryEnableWhenNotRequested()
public void lateStartupDoesRetryEnableWhenRequested()
public void startupOverrideFileOverridesPluginInformationAndDelayPredicate()
throws Exception
Exceptionpublic void earlyLateStartupEvents()
public void startupElementInPluginInformationOverridesDelayPredicate()
public void delayedPluginsAreDelayed()
public void testShutdownHandlesException()
public void testCannotInitTwice()
throws PluginParseException
PluginParseExceptionpublic void testCannotShutdownTwice()
throws PluginParseException
PluginParseExceptionpublic void testExceptionOnRequiredPluginNotEnabling()
throws Exception
ExceptionCopyright © 2019 Atlassian. All rights reserved.