Class PostSetupHelper
- java.lang.Object
-
- com.atlassian.confluence.it.setup.PostSetupHelper
-
public class PostSetupHelper extends Object
Helper for various tasks that are commonly done after a setup
-
-
Constructor Summary
Constructors Constructor Description PostSetupHelper(net.sourceforge.jwebunit.junit.WebTester tester, ConfluenceRpc rpc)
PostSetupHelper(net.sourceforge.jwebunit.junit.WebTester tester, User admin, ConfluenceRpc rpc)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
disableFeatureDiscovery()
Deprecated.Since 5.6.void
disableWebSudo()
void
disableWhatsNew()
Deprecated.Since 5.6.void
enableRemoteApiAndGzip()
Use jwebunit to enable the remote api and gzip settings through the settings UI.void
enableRemoteApiAndGzip(com.atlassian.confluence.test.rest.api.ConfluenceRestClient restClient)
Use rest client methods to enable the remote api and gzip settings.void
ensureDirectoryConfig(DirectoryConfiguration directoryConfig)
Deprecated.void
updateLicense(License license)
-
-
-
Constructor Detail
-
PostSetupHelper
@Deprecated public PostSetupHelper(net.sourceforge.jwebunit.junit.WebTester tester, User admin, ConfluenceRpc rpc)
Deprecated.
-
PostSetupHelper
public PostSetupHelper(net.sourceforge.jwebunit.junit.WebTester tester, ConfluenceRpc rpc)
-
-
Method Detail
-
disableWhatsNew
@Deprecated public void disableWhatsNew()
Deprecated.Since 5.6. UseTestPlugins.disableUnneededPluginsAndModules(ConfluenceRpc)
-
ensureDirectoryConfig
@Deprecated public void ensureDirectoryConfig(DirectoryConfiguration directoryConfig)
Deprecated.
-
disableFeatureDiscovery
@Deprecated public void disableFeatureDiscovery()
Deprecated.Since 5.6. UseTestPlugins.disableUnneededPluginsAndModules(ConfluenceRpc)
-
disableWebSudo
public void disableWebSudo()
-
enableRemoteApiAndGzip
public void enableRemoteApiAndGzip()
Use jwebunit to enable the remote api and gzip settings through the settings UI. See alsoenableRemoteApiAndGzip(ConfluenceRestClient)
to do this faster without the UI if you don't want to test the UI.
-
enableRemoteApiAndGzip
public void enableRemoteApiAndGzip(com.atlassian.confluence.test.rest.api.ConfluenceRestClient restClient)
Use rest client methods to enable the remote api and gzip settings. This requires the functest rest plugin to be already installed. It does the same thing as {@link #enableRemoteApiAndGzip())} but without the UI.
-
updateLicense
public void updateLicense(License license)
-
-