public class SetupAcceptanceTest extends Object
If you execute this test from your IDE, you may (profiles are given as an example):
mvn clean
 install -Pextended-acceptance-test,local,multi-setup,cargo,jaacs -Dcargo.wait=true which waits when Confluence (and
 JIRA if required) is up, with 5005 as a debug port.
mvn help:effective-pom -Pthe,same,profiles,as,above If you are using IDEA you can also edit the configuration for this test to use the properties from confluence_default.properties to get the desired configuration. For instance, setting the following configuration will cause confluence to run using postgres :
      -Dsetup.type=custom
      -Ddatabase.mayAlreadyExist=true
      -Ddatabase.name=PostgreSQL
      -Ddatabase.type=database-type-standard
      -Ddatabase.driver=org.postgresql.Driver
      -Ddatabase.url=jdbc:postgresql://localhost:5432/confluence
      -Ddatabase.user=postgres
      -Ddatabase.password=postgres
  | Modifier and Type | Field and Description | 
|---|---|
| com.atlassian.confluence.test.environment.TestEnvironmentRule | testEnvironmentRule | 
| Constructor and Description | 
|---|
| SetupAcceptanceTest() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | assertElevatedSecurityCheckDoesntBreakSetup(String baseUrl)Make sure that the elevated security check doesn't break fresh installs. | 
| void | setUp() | 
| void | testInstall() | 
public com.atlassian.confluence.test.environment.TestEnvironmentRule testEnvironmentRule
public void assertElevatedSecurityCheckDoesntBreakSetup(String baseUrl) throws Exception
Changes for CONF-19314 mean that if you had this case where:
baseUrl - The base URLException - If there are any I/O errorsCopyright © 2003–2016 Atlassian. All rights reserved.