|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.confluence.ThreadLocalWebTestCase com.atlassian.confluence.AbstractAtlassianWebTestCase com.atlassian.confluence.setup.SetupAcceptanceTest
public class SetupAcceptanceTest
Tests the setup process.
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
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase |
---|
SITE_TITLE_SUFFIX, TITLE_SEPARATOR |
Constructor Summary | |
---|---|
SetupAcceptanceTest()
|
Method Summary | |
---|---|
void |
assertElevatedSecurityCheckDoesntBreakSetup(String baseUrl)
Make sure that the elevated security check doesn't 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. |
protected void |
setUp()
|
protected void |
setUpTestNG(Method method)
Don't do any set up in testNg. |
void |
testInstall()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SetupAcceptanceTest()
Method Detail |
---|
protected void setUpTestNG(Method method) throws Exception
Exception
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void install() throws Exception
IOException
- if it fails.
Exception
public void assertElevatedSecurityCheckDoesntBreakSetup(String baseUrl) throws Exception
baseUrl
- The base URL
Exception
- If there are any I/O errorspublic void testInstall() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |