public class PluginStartupAcceptanceTest extends AbstractAcceptanceTest
testNoBrokenPluginModules().)
See also com.atlassian.confluence.cloud.test.PluginStartupCloudTest, which does the same thing in cloud pipeline builds.
rpc, testHelper, testName| Constructor and Description |
|---|
PluginStartupAcceptanceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testDisabledByDefaultPluginModulesHealthCheck()
This healthcheck is for snowflake reduction: it detects 'state="disabled"' modules that we're programmatically enabling,
which we need to stop doing for Vertigo.
|
void |
testDisabledByDefaultPluginsHealthCheck()
This healthcheck is for snowflake reduction: it detects 'state="disabled"' plugins that we're programmatically enabling,
which we need to stop doing for Vertigo.
|
void |
testDisabledPluginModulesHealthCheck()
Test that all modules are enabled in every plugin that's enabled, by calling atlassian-healthcheck.
|
void |
testDisabledPluginsHealthCheck()
Test that all plugins in the system are enabled, by calling atlassian-healthcheck.
|
void |
testNoBrokenPluginModules()
Test that all enabled plugin modules can be retrieved via
ModuleDescriptor.getModule()
without throwing an exception. |
commonSetUp, exceptionSupplierpublic void testDisabledPluginsHealthCheck()
throws Exception
See also com.atlassian.confluence.cloud.test.PluginStartupCloudTest#testDisabledPluginsHealthCheck if modifying this.
Exceptionpublic void testDisabledPluginModulesHealthCheck()
throws Exception
See also com.atlassian.confluence.cloud.test.PluginStartupCloudTest#testDisabledPluginModulesHealthCheck if modifying this.
Exceptionpublic void testDisabledByDefaultPluginsHealthCheck()
throws Exception
See also com.atlassian.confluence.cloud.test.PluginStartupCloudTest#testDisabledByDefaultPluginsHealthCheck if modifying this.
Exceptionpublic void testDisabledByDefaultPluginModulesHealthCheck()
throws Exception
See also com.atlassian.confluence.cloud.test.PluginStartupCloudTest#testDisabledByDefaultPluginModulesHealthCheck if modifying this.
Exceptionpublic void testNoBrokenPluginModules()
throws IOException
ModuleDescriptor.getModule()
without throwing an exception.
This detects failures in module construction, broken dependencies etc.
Unlike the other tests in this class, this doesn't use atlassian-healthcheck, just our special test plugin.
See also com.atlassian.confluence.cloud.test.PluginStartupCloudTest#testNoBrokenPluginModules if modifying this.
IOExceptionCopyright © 2003–2016 Atlassian. All rights reserved.