| java.lang.Object | |
| ↳ | com.atlassian.confluence.it.export.Importer |
Contains methods for testing XML backup imports via Confluence admin panel.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Assumes that the webTester is already on the edit screen.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Attempt to import a space backup that is expected to fail.
| |||||||||||
Perform a site import via the web ui. | |||||||||||
Import an xml exported space from the classpath into Confluence via the web ui. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Assumes that the webTester is already on the edit screen.
| webTester | must be logged in as a user with administrative privileges. |
|---|---|
| rpc | must be logged in as a user with administrative privileges. |
Attempt to import a space backup that is expected to fail. This import makes no assertions about success and does not wait for completion.
Perform a site import via the web ui. It sets the TextField containing location of the backup file, which must be set in setBackupFile method. After the import is performed, the base url setting is restored.
This method relies on being the only import process running at the time,
since it waits for an ImportFinishedEvent - up to the given timeout amount
| backupFile | to be imported |
|---|---|
| importTimeout | maximum amount of time to wait for the import before failing with a RuntimeException. |
| directoryConfig | the expected user directory configuration, which must be restored following a global |
| adminConsole | required to disable websudo and enable the remote api |
Import an xml exported space from the classpath into Confluence via the web ui. It sets the TextField containing location of the backup file, which must be set in setBackupFile method.
This method relies on being the only import process running at the time,
since it waits for an ImportFinishedEvent - up to the given timeout amount
| backupFile | to be imported |
|---|---|
| importTimeout | maximum amount of time to wait for the import before failing with a RuntimeException. |

