public class PluginStartupAcceptanceTest extends AbstractAcceptanceTest
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 |
testNoBrokenPluginModules()
Test that all enabled plugin modules can be retrieved via
ModuleDescriptor.getModule()
without throwing an exception. |
void |
testNoNonWhitelistedPluginModulesAreDisabled()
Test that all modules are enabled in every plugin that's enabled, unless specifically whitelisted.
|
void |
testNoNonWhitelistedPluginsAreDisabled()
Test that all plugins in the system are enabled, unless specifically whitelisted.
|
commonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, users
public void testNoNonWhitelistedPluginsAreDisabled() throws IOException
See com.atlassian.confluence.plugins.pluginstartuptest.PluginStartupAcceptanceTestWhitelist for the whitelists.
IOException
public void testNoNonWhitelistedPluginModulesAreDisabled() throws IOException
See com.atlassian.confluence.plugins.pluginstartuptest.PluginStartupAcceptanceTestWhitelist for the whitelist.
IOException
public void testNoBrokenPluginModules() throws IOException
ModuleDescriptor.getModule()
without throwing an exception.
This detects failures in module construction, broken dependencies etc.
See com.atlassian.confluence.plugins.pluginstartuptest.PluginStartupAcceptanceTestWhitelist for the whitelist.
IOException
Copyright © 2003–2017 Atlassian. All rights reserved.