public class

SetupAcceptanceTest

extends AbstractConfluenceAcceptanceTest
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ThreadLocalWebTestCase
         ↳ com.atlassian.confluence.AbstractAtlassianWebTestCase
           ↳ com.atlassian.confluence.AbstractConfluenceAcceptanceTest
             ↳ com.atlassian.confluence.setup.SetupAcceptanceTest

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
[Expand]
Inherited Fields
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
Public Constructors
SetupAcceptanceTest()
Public Methods
void assertElevatedSecurityCheckDoesntBreakSetup(String baseUrl)
Make sure that the elevated security check doesnt break fresh installs.
void install()
TestNG test that is responsible for testing and performing the Confluence setup wizard on all the instances used for the parallel build.
void testInstall()
Protected Methods
void setUp()
void setUpTestNG(Method method)
Don't do any set up in testNg.
void tearDown()
Default tearDown method.
[Expand]
Inherited Methods
From class com.atlassian.confluence.AbstractConfluenceAcceptanceTest
From class com.atlassian.confluence.AbstractAtlassianWebTestCase
From class com.atlassian.confluence.ThreadLocalWebTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public SetupAcceptanceTest ()

Public Methods

public void assertElevatedSecurityCheckDoesntBreakSetup (String baseUrl)

Make sure that the elevated security check doesnt break fresh installs. Changes for CONF-19314 mean that if you had this case where:

  • You have a valid seraph.confluence cookie
  • You dont have a http session
  • Confluence setup is not complete
Then the Elevated Security check would throw an exception trying to perform the esc.
Throws
Exception

public void install ()

TestNG test that is responsible for testing and performing the Confluence setup wizard on all the instances used for the parallel build.

public void testInstall ()

Throws
Exception

Protected Methods

protected void setUp ()

Throws
Exception

protected void setUpTestNG (Method method)

Don't do any set up in testNg. It is done by install().

Throws
Exception

protected void tearDown ()

Default tearDown method. Removes any files which were added to the filesToDelete list.

Throws
Exception