public class WebTestPluginHelper extends Object
Constructor and Description |
---|
WebTestPluginHelper(String baseUrl,
User initialUser)
Deprecated.
|
WebTestPluginHelper(net.sourceforge.jwebunit.junit.WebTester webTester,
User initialUser) |
Modifier and Type | Method and Description |
---|---|
void |
disablePlugin(Plugin plugin)
Disable the plugin using its display name.
|
void |
enablePlugin(Plugin plugin) |
void |
installPlugin(UploadablePlugin plugin) |
boolean |
isPluginEnabled(Plugin plugin)
Throws an exception if the plugin is not installed.
|
boolean |
isPluginInstalled(Plugin plugin) |
void |
uninstallPlugin(Plugin plugin) |
public WebTestPluginHelper(String baseUrl, User initialUser)
WebTestPluginHelper(net.sourceforge.jwebunit.junit.WebTester, com.atlassian.confluence.it.User)
baseUrl
- base URL of the Confluence instance to talk toinitialUser
- the user to login as initiallypublic WebTestPluginHelper(net.sourceforge.jwebunit.junit.WebTester webTester, User initialUser)
public void installPlugin(UploadablePlugin plugin) throws FileNotFoundException
FileNotFoundException
public void uninstallPlugin(Plugin plugin)
public boolean isPluginInstalled(Plugin plugin)
public void enablePlugin(Plugin plugin)
public void disablePlugin(Plugin plugin)
public boolean isPluginEnabled(Plugin plugin)
Copyright © 2003–2016 Atlassian. All rights reserved.