com.atlassian.confluence.it.plugin
Class TestPlugins

java.lang.Object
  extended by com.atlassian.confluence.it.plugin.TestPlugins

public class TestPlugins
extends Object

Helper class to install plugins that are required for testing.


Field Summary
static UploadablePlugin FUNCTEST_REST_PLUGIN
           
static UploadablePlugin FUNCTEST_RPC_PLUGIN
           
static Plugin HELP_TIPS_PLUGIN
           
static UploadablePlugin SCRIPTSFINISHED_PLUGIN
           
static String SCRIPTSFINISHED_PLUGIN_MODULE
           
static List<UploadablePlugin> UPLOADABLE_PLUGINS
           
static String WHATS_NEW_FLAG_MODULE
           
static Plugin WHATS_NEW_PLUGIN
           
 
Constructor Summary
TestPlugins()
           
 
Method Summary
static void disableUnneededPluginsAndModules(ConfluenceRpc rpc)
           
static void ensurePluginsEnabled(PluginHelper pluginHelper, UploadablePlugin... plugins)
           
static void installFuncTestPlugins(PluginHelper pluginHelper)
           
static void installFuncTestRpcPlugin(PluginHelper pluginHelper)
          Deprecated. Since 5.6. Use setupTestPluginsForJWebUnit(ConfluenceRpc) to set up required plugins.
static void installTestPlugins(PluginHelper pluginHelper)
          Deprecated. Since 5.6. Use setupTestPluginsForJWebUnit(ConfluenceRpc) or setupTestPluginsForWebDriver(com.atlassian.confluence.it.rpc.ConfluenceRpc) to set up required plugins.
static void setupTestPluginsForJWebUnit(ConfluenceRpc rpc)
          Set up default plugins for use with non-browser acceptance tests.
static void setupTestPluginsForWebDriver(ConfluenceRpc rpc)
          Set up default plugins for use with WebDriver and Selenium tests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FUNCTEST_RPC_PLUGIN

public static final UploadablePlugin FUNCTEST_RPC_PLUGIN

FUNCTEST_REST_PLUGIN

public static final UploadablePlugin FUNCTEST_REST_PLUGIN

SCRIPTSFINISHED_PLUGIN

public static final UploadablePlugin SCRIPTSFINISHED_PLUGIN

WHATS_NEW_PLUGIN

public static final Plugin WHATS_NEW_PLUGIN

WHATS_NEW_FLAG_MODULE

public static final String WHATS_NEW_FLAG_MODULE
See Also:
Constant Field Values

SCRIPTSFINISHED_PLUGIN_MODULE

public static final String SCRIPTSFINISHED_PLUGIN_MODULE
See Also:
Constant Field Values

HELP_TIPS_PLUGIN

public static final Plugin HELP_TIPS_PLUGIN

UPLOADABLE_PLUGINS

public static final List<UploadablePlugin> UPLOADABLE_PLUGINS
Constructor Detail

TestPlugins

public TestPlugins()
Method Detail

setupTestPluginsForWebDriver

public static void setupTestPluginsForWebDriver(ConfluenceRpc rpc)
                                         throws IOException
Set up default plugins for use with WebDriver and Selenium tests.

Throws:
IOException

setupTestPluginsForJWebUnit

public static void setupTestPluginsForJWebUnit(ConfluenceRpc rpc)
                                        throws IOException
Set up default plugins for use with non-browser acceptance tests.

Throws:
IOException

installFuncTestRpcPlugin

@Deprecated
public static void installFuncTestRpcPlugin(PluginHelper pluginHelper)
                                     throws IOException
Deprecated. Since 5.6. Use setupTestPluginsForJWebUnit(ConfluenceRpc) to set up required plugins.

Throws:
IOException

installTestPlugins

@Deprecated
public static void installTestPlugins(PluginHelper pluginHelper)
                               throws IOException
Deprecated. Since 5.6. Use setupTestPluginsForJWebUnit(ConfluenceRpc) or setupTestPluginsForWebDriver(com.atlassian.confluence.it.rpc.ConfluenceRpc) to set up required plugins.

Throws:
IOException

installFuncTestPlugins

public static void installFuncTestPlugins(PluginHelper pluginHelper)
                                   throws IOException
Throws:
IOException

ensurePluginsEnabled

public static void ensurePluginsEnabled(PluginHelper pluginHelper,
                                        UploadablePlugin... plugins)
                                 throws IOException
Throws:
IOException

disableUnneededPluginsAndModules

public static void disableUnneededPluginsAndModules(ConfluenceRpc rpc)


Copyright © 2003–2015 Atlassian. All rights reserved.