|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.confluence.junit3.JUnit3TimingTestCase
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
| Constructor Summary | |
|---|---|
SetupAcceptanceTest()
|
|
| Method Summary | |
|---|---|
void |
assertElevatedSecurityCheckDoesntBreakSetup(java.lang.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(java.lang.reflect.Method method)
Don't do any set up in testNg. |
void |
testInstall()
|
| Methods inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase |
|---|
tearDown |
| Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase |
|---|
runBare, setExceptionTransformer |
| 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, failNotEquals, failNotSame, failSame, format |
| 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(java.lang.reflect.Method method)
throws java.lang.Exception
java.lang.Exception
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
public void install()
throws java.lang.Exception
java.io.IOException - if it fails.
java.lang.Exception
public void assertElevatedSecurityCheckDoesntBreakSetup(java.lang.String baseUrl)
throws java.lang.Exception
baseUrl - The base URL
java.lang.Exception - If there are any I/O errors
public void testInstall()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||