|
||||||||||
| 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.jira.functest.framework.FuncTestCase
com.atlassian.jira.webtests.ztests.imports.project.AbstractProjectImportTestCase
public abstract class AbstractProjectImportTestCase
Has some base methods for testing ProjectImport.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
|---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, issueTableAssertions, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
| Constructor Summary | |
|---|---|
AbstractProjectImportTestCase()
|
|
| Method Summary | |
|---|---|
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 |
importAndExportBackupAndSetupCurrentInstance(String backupFileName,
String currentSystemXML)
|
File |
importAndExportBackupAndSetupCurrentInstance(String backupFileName,
String currentSystemXML,
boolean doPluginsRefresh)
|
void |
importToPreImportSummaryPage(File tempFile)
|
| Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
|---|
builtInCustomFieldKey, getAssertions, getEnvironmentData, getTester, getWebClientListener, isDumpHTML, log, log, runBare, runTest, setEnvironmentData, setUp, setUpHttpUnitOptions, setUpTest, shouldSkipSetup, tearDown, tearDownTest, xpath |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, 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 AbstractProjectImportTestCase()
| Method Detail |
|---|
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,
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.
protected File copyFileToJiraImportDirectory(File file)
public void importToPreImportSummaryPage(File tempFile)
public File importAndExportBackupAndSetupCurrentInstance(String backupFileName,
String currentSystemXML)
public File importAndExportBackupAndSetupCurrentInstance(String backupFileName,
String currentSystemXML,
boolean doPluginsRefresh)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||