public class TestDefaultLifecycleManager extends TestDefaultLifecycleManagerBase
bundleContext, defaultLifecycleManager, isApplicationSetup, notifyOnStartCalled, pluginAccessor, pluginBundle, pluginController, pluginEventManager, pluginKey, serviceListener| Constructor and Description |
|---|
TestDefaultLifecycleManager() |
enablePlugin, mockBundle, mockLifecycleAwareAndRegisterService, registerService, setUp, unregisterServicepublic void onStartCalledForServicesRegisteredBeforeDefaultLifecycleManagerIsInitialized()
throws Exception
Exceptionpublic void onStartCalledWhenPluginFrameworkStartedIfApplicationIsSetup()
throws Exception
Exceptionpublic void onStartCalledWhenStartCalledIfApplicationIsSetupAfterPluginFrameworkStarted()
throws Exception
Exceptionpublic void onStartCalledWhenPluginEnabledAfterStarted()
throws Exception
Exceptionpublic void onStartCalledWhenLifecycleAwareRegisteredAfterPluginEnabled()
throws Exception
Exceptionpublic void notifyOnStartCalledWhenPluginFrameworkStartedWhenSetup()
throws Exception
Exceptionpublic void notifyOnStartCalledWhenStartCalledIfApplicationIsSetupAfterPluginFrameworkStarted()
throws Exception
Exceptionpublic void notifyOnStartOnlyCalledOnceEvenWhenBothPluginFrameworkStartedAndStartCalledWhenSetup()
throws Exception
Exceptionpublic void onStartNotCalledWhenLifecycleAwareUnregisteredBeforeStart()
throws Exception
Exceptionpublic void verifyListenerRegistrationManagement()
throws Exception
Exceptionpublic void serviceDeregisteredJustAfterPostConstructSnapshotIsNotLeaked()
throws Exception
Exceptionpublic void onStartRuntimeExceptionsAreCaught()
throws Exception
Exceptionpublic void staleServiceReferencesReturningNullBundleAndLifecycleAreHandled()
throws Exception
ExceptionCopyright © 2018 Atlassian. All rights reserved.