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 voiddisableFeatureDiscovery()Deprecated.Since 5.6.voiddisableWebSudo()voiddisableWhatsNew()Deprecated.Since 5.6.voidenableRemoteApiAndGzip()Use jwebunit to enable the remote api and gzip settings through the settings UI.voidenableRemoteApiAndGzip(com.atlassian.confluence.test.rest.api.ConfluenceRestClient restClient)Use rest client methods to enable the remote api and gzip settings.voidensureDirectoryConfig(DirectoryConfiguration directoryConfig)Deprecated.voidupdateLicense(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)
-
-