public abstract class BaseJiraProjectImportFuncTest extends BaseJiraFuncTest
Modifier and Type | Field and Description |
---|---|
protected Administration |
administration |
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
BaseJiraProjectImportFuncTest() |
Modifier and Type | Method and Description |
---|---|
void |
advanceThroughWaitingPage() |
protected File |
copyFileToJiraImportDirectory(File file) |
File |
doProjectImport(String backupFileName,
String currentSystemXML)
Takes two XML paths and runs the Project Import up to the summary screen.
|
File |
doProjectImport(String backupFileName,
String currentSystemXML,
boolean doPluginsRefresh)
Takes two XML paths and runs the Project Import up to the summary screen.
|
File |
doProjectImport(String backupFileName,
String currentSystemXML,
String projectName)
Takes two XML paths and runs the Project Import up to the summary screen.
|
File |
doProjectImport(String backupFileName,
String currentSystemXML,
String projectName,
boolean doPluginsRefresh)
Takes two XML paths and runs the Project Import up to the summary screen.
|
File |
importAndExportBackupAndSetupCurrentInstance(String backupFileName,
String currentSystemXML) |
File |
importAndExportBackupAndSetupCurrentInstance(String backupFileName,
String currentSystemXML,
boolean doPluginsRefresh) |
void |
importToPreImportSummaryPage(File tempFile) |
void |
importToPreImportSummaryPage(File tempFile,
String projectName) |
getAssertions, getBackdoor, getEnvironmentData, getTester
@Inject protected Administration administration
public void advanceThroughWaitingPage()
public File doProjectImport(String backupFileName, String currentSystemXML)
This method then kicks off a project import on the MKY project and takes it up to the Summary page.
backupFileName
- The File that we project import.currentSystemXML
- The "current system" state.public File doProjectImport(String backupFileName, String currentSystemXML, String projectName)
This method then kicks off a project import on the MKY project and takes it up to the Summary page.
backupFileName
- The File that we project import.currentSystemXML
- The "current system" state.projectName
- Name of project to import.public File doProjectImport(String backupFileName, String currentSystemXML, String projectName, boolean doPluginsRefresh)
This method then kicks off a project import on the MKY project and takes it up to the Summary page.
backupFileName
- The File that we project import.currentSystemXML
- The "current system" state.projectName
- Name of project to import.doPluginsRefresh
- specify true
if you are testing plugins and need JIRA to do a full refresh
on data import; if testing core JIRA then a quick import should suffice.public File doProjectImport(String backupFileName, String currentSystemXML, boolean doPluginsRefresh)
This method then kicks off a project import on the MKY project and takes it up to the Summary page.
backupFileName
- The File that we project import.currentSystemXML
- The "current system" state.doPluginsRefresh
- specify true
if you are testing plugins and need JIRA to do a full refresh
on data import; if testing core JIRA then a quick import should suffice.public void importToPreImportSummaryPage(File tempFile)
public void importToPreImportSummaryPage(File tempFile, String projectName)
public File importAndExportBackupAndSetupCurrentInstance(String backupFileName, String currentSystemXML)
Copyright © 2002-2022 Atlassian. All Rights Reserved.