|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.TestSuite com.atlassian.confluence.acceptancetest.roundtrip.SpaceRoundTripSuite
public class SpaceRoundTripSuite
Create suite of tests to test roundtripping of a single space.
Constructor Summary | |
---|---|
SpaceRoundTripSuite(Space space,
java.lang.String spaceExportPath)
Construct a suite to test the roundtrip of a particular space. |
|
SpaceRoundTripSuite(Space space,
java.lang.String spaceExportPath,
PageRoundTripTestFactory testFactory)
Construct a suite to test the roundtrip of a particular space. |
Method Summary |
---|
Methods inherited from class junit.framework.TestSuite |
---|
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpaceRoundTripSuite(Space space, java.lang.String spaceExportPath) throws java.io.IOException
space
. The export will only be used if the space does
not already exist in confluence. Note that the baseurl
System property must be set to the baseurl of the Confluence instance
to be tested or else "http://localhost:8080/confluence" will be assumed.
Uses the RpcPageRoundTripTestFactory
for its tests.
space
- whose pages will be testedspaceExportPath
- path to xml backup file containing space
java.io.IOException
public SpaceRoundTripSuite(Space space, java.lang.String spaceExportPath, PageRoundTripTestFactory testFactory) throws java.io.IOException
space
. The export will only be used if the space does
not already exist in confluence. Note that the baseurl
System property must be set to the baseurl of the Confluence instance
to be tested or else "http://localhost:8080/confluence" will be assumed.
space
- whose pages will be testedspaceExportPath
- path to xml backup file containing space
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |