Class TestDataExport
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.admin.TestDataExport
Tests that the data export does what it should (i.e. does not anonymise the data when it should not).
-
Field Summary
FieldsFields inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
assertions, backdoor, environmentData, initClass, navigation, tester, testRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidChecks that the comments in the data export are present and escaped correctlyvoidvoidvoidvoidvoidvoidChecks if the data export contains the server timezone.Methods inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
getAssertions, getBackdoor, getEnvironmentData, getTester
-
Field Details
-
temporaryFileRule
-
-
Constructor Details
-
TestDataExport
public TestDataExport()
-
-
Method Details
-
testNoFilename
- Throws:
Exception
-
testAllAllowedCharacters
public void testAllAllowedCharacters() -
testInvalidFilename
- Throws:
Exception
-
testInvalidFilenameTooLong
public void testInvalidFilenameTooLong() -
testInvalidFilenameEndingDot
public void testInvalidFilenameEndingDot() -
testInvalidFilenameWrongCharacters
public void testInvalidFilenameWrongCharacters() -
testDataExportDoesNotAnonymise
public void testDataExportDoesNotAnonymise() throws IOException, ParserConfigurationException, SAXException, org.custommonkey.xmlunit.exceptions.XpathException- Throws:
IOExceptionParserConfigurationExceptionSAXExceptionorg.custommonkey.xmlunit.exceptions.XpathException
-
testInvalidCharactersInComments
public void testInvalidCharactersInComments() throws IOException, ParserConfigurationException, SAXExceptionChecks that the comments in the data export are present and escaped correctly -
testServerTimezoneExport
public void testServerTimezoneExport() throws IOException, ParserConfigurationException, SAXException, org.custommonkey.xmlunit.exceptions.XpathExceptionChecks if the data export contains the server timezone.- Throws:
IOExceptionParserConfigurationExceptionSAXExceptionorg.custommonkey.xmlunit.exceptions.XpathException
-