com.atlassian.jira.functest.framework.backdoor
Class DataImportControl
java.lang.Object
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<T>
com.atlassian.jira.functest.framework.backdoor.BackdoorControl<DataImportControl>
com.atlassian.jira.functest.framework.backdoor.DataImportControl
- All Implemented Interfaces:
- FuncTestLogger
public class DataImportControl
- extends BackdoorControl<DataImportControl>
Use this class from func/selenium/page-object tests that need to import data. Which is all of them.
See DataImportBackdoor for the code this plugs into at the back-end.
- Since:
- v5.0
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient |
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient.Method |
Fields inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient |
REST_VERSION |
Constructor Summary |
DataImportControl(com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
|
Methods inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient |
anonymous, errorResponse, expanded, loginAs, loginAs, percentEncode, resourceRoot, setOf, toResponse, toResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FS
public static final String FS
DataImportControl
public DataImportControl(com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
restoreBlankInstance
public void restoreBlankInstance()
- Restores the instance with the default XML file. A commercial license is used.
restoreData
public void restoreData(String xmlFileName)
- Restores the instance with the specified XML file. A commercial license is used.
- Parameters:
xmlFileName
- the name of the file to import
Copyright © 2002-2012 Atlassian. All Rights Reserved.