com.atlassian.confluence.cluster
Class ClusteredPluginAcceptanceTest

java.lang.Object
  extended by com.atlassian.confluence.cluster.AbstractClusteredTestCase
      extended by com.atlassian.confluence.cluster.ClusteredPluginAcceptanceTest

public class ClusteredPluginAcceptanceTest
extends AbstractClusteredTestCase


Field Summary
 
Fields inherited from class com.atlassian.confluence.cluster.AbstractClusteredTestCase
node1, node1tester, node2, node2tester, TEST_SPACE, TESTPAGE_TITLE
 
Constructor Summary
ClusteredPluginAcceptanceTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testDisableWithoutPersistingDoesNotPersist()
           
 void testDynamicModuleStateChanges()
          "rest-filter" module is added dynamically when "rest" module is enabled in a plugin.
 void testEnableDisableStateAwarePlugin()
           
 void testEnablingPluginAcrossCluster()
           
 void testUploadingAndUninstallingPluginAcrossCluster()
           
 void testUploadPluginOnNode2()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusteredPluginAcceptanceTest

public ClusteredPluginAcceptanceTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class AbstractClusteredTestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class AbstractClusteredTestCase
Throws:
Exception

testEnablingPluginAcrossCluster

public void testEnablingPluginAcrossCluster()
                                     throws Exception
Throws:
Exception

testUploadingAndUninstallingPluginAcrossCluster

public void testUploadingAndUninstallingPluginAcrossCluster()
                                                     throws Exception
Throws:
Exception

testEnableDisableStateAwarePlugin

public void testEnableDisableStateAwarePlugin()
                                       throws Exception
Throws:
Exception

testUploadPluginOnNode2

public void testUploadPluginOnNode2()
                             throws Exception
Throws:
Exception

testDynamicModuleStateChanges

public void testDynamicModuleStateChanges()
                                   throws Exception
"rest-filter" module is added dynamically when "rest" module is enabled in a plugin. It also also removed dynamically when "rest" module is disabled in a plugin. This causes the peculiar behaviour of UPM module count being higher when a plugin is enabled. This test tries to ensure that this dynamic behaviour works correctly in a cluster.

Throws:
Exception

testDisableWithoutPersistingDoesNotPersist

public void testDisableWithoutPersistingDoesNotPersist()
                                                throws Exception
Throws:
Exception


Copyright © 2003–2015 Atlassian. All rights reserved.