public class TestUpgradeXmlData extends BaseJiraFuncTest implements ConfigFileWalker.ConfigVisitor
To upgrade your data simply setup JIRA for a regular func test run (i.e start the server and configure your localtest.properties) and then run this test. If you run it from the jira-func-test module then it will upgrade the func test xml. If you run it from the jira-selenium-test module then it will upgrade the selenium test xml.
You can add 'suppresscheck: upgrade' to the top level comment in an XML to stop it from being upgraded. This is useful for XML data that is meant test upgrade tasks. It is also useful for upgrade tasks that have replacement tokens and can only be imported using their associated tests.
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestUpgradeXmlData() |
Modifier and Type | Method and Description |
---|---|
void |
testUpgradeTestData() |
void |
visitConfig(ConfigFile entitiesFile) |
void |
visitConfigError(File file,
ConfigFile.ConfigFileException e) |
getAssertions, getBackdoor, getEnvironmentData, getTester
public void visitConfig(ConfigFile entitiesFile)
visitConfig
in interface ConfigFileWalker.ConfigVisitor
public void visitConfigError(File file, ConfigFile.ConfigFileException e)
visitConfigError
in interface ConfigFileWalker.ConfigVisitor
Copyright © 2002-2022 Atlassian. All Rights Reserved.
View cookie preferences